aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/getopt32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index 28b47974e..382d28a4e 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -445,7 +445,7 @@ getopt32(int argc, char **argv, const char *applet_opts, ...)
445 } 445 }
446 s--; 446 s--;
447 } 447 }
448 va_end (p); 448 va_end(p);
449 449
450 if (spec_flgs & FIRST_ARGV_IS_OPT) { 450 if (spec_flgs & FIRST_ARGV_IS_OPT) {
451 if (argv[1] && argv[1][0] != '-' && argv[1][0] != '\0') { 451 if (argv[1] && argv[1][0] != '-' && argv[1][0] != '\0') {