Commit 41bddaed authored by Natanael Copa's avatar Natanael Copa
Browse files

nlplug-findfs: fix search device

fixes commit 0316297f (nlplug-findfs: add long options)

ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/13178
parent 649d944f
......@@ -1335,8 +1335,8 @@ int main(int argc, char *argv[])
}
}
if (argc > 0)
conf.search_device = argv[0];
if (argc > optind)
conf.search_device = argv[optind];
initsignals();
sigemptyset(&sigchldmask);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment