diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index e205763..c82e51f 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -183,7 +183,7 @@ extern int tar_main(int argc, char **argv) usage(tar_usage); /* Parse any options */ - while (--argc > 0 && (**(++argv) != '\0')) { + while (--argc > 0 && **(++argv) == '-') { stopIt=FALSE; while (stopIt==FALSE && *(++(*argv))) { switch (**argv) { |