diff options
author | Karel Zak | 2018-11-22 12:04:54 +0100 |
---|---|---|
committer | Karel Zak | 2018-11-22 12:04:54 +0100 |
commit | f069b1282452e20711d580027b818e2e09db174a (patch) | |
tree | 193d8e7b4360ef958a4bdc4a9147da3be0fd30cc | |
parent | Merge branch '2018wk41' of https://github.com/kerolasa/util-linux (diff) | |
parent | Merge branch 'master' of github.com:karelzak/util-linux (diff) | |
download | kernel-qcow2-util-linux-f069b1282452e20711d580027b818e2e09db174a.tar.gz kernel-qcow2-util-linux-f069b1282452e20711d580027b818e2e09db174a.tar.xz kernel-qcow2-util-linux-f069b1282452e20711d580027b818e2e09db174a.zip |
Merge branch 'master' of https://github.com/nyantec/util-linux
* 'master' of https://github.com/nyantec/util-linux:
fix a bug where switch_root would erroneously try to parse initargs
-rw-r--r-- | sys-utils/switch_root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/switch_root.c b/sys-utils/switch_root.c index 3c66d0186..a85ce24b9 100644 --- a/sys-utils/switch_root.c +++ b/sys-utils/switch_root.c @@ -227,7 +227,7 @@ int main(int argc, char *argv[]) atexit(close_stdout); - while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) + while ((c = getopt_long(argc, argv, "+Vh", longopts, NULL)) != -1) switch (c) { case 'V': printf(UTIL_LINUX_VERSION); |