]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
unshare: add + to getopt_long()
authorKarel Zak <kzak@redhat.com>
Fri, 18 Apr 2014 11:12:13 +0000 (13:12 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 18 Apr 2014 11:12:13 +0000 (13:12 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/unshare.c

index 1240293c05dbe7b501455a7274fa588f9640703b..95e4afbd055e6af2d502acd0a1e3771834253f09 100644 (file)
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
        textdomain(PACKAGE);
        atexit(close_stdout);
 
-       while ((c = getopt_long(argc, argv, "fhVmuinpUr", longopts, NULL)) != -1) {
+       while ((c = getopt_long(argc, argv, "+fhVmuinpUr", longopts, NULL)) != -1) {
                switch (c) {
                case 'f':
                        forkit = 1;