diff options
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ extern int tar_main(int argc, char **argv) | |||
183 | usage(tar_usage); | 183 | usage(tar_usage); |
184 | 184 | ||
185 | /* Parse any options */ | 185 | /* Parse any options */ |
186 | while (--argc > 0 && (**(++argv) != '\0')) { | 186 | while (--argc > 0 && **(++argv) == '-') { |
187 | stopIt=FALSE; | 187 | stopIt=FALSE; |
188 | while (stopIt==FALSE && *(++(*argv))) { | 188 | while (stopIt==FALSE && *(++(*argv))) { |
189 | switch (**argv) { | 189 | switch (**argv) { |