diff options
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r-- | miscutils/mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c index 28922f8..44f2388 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c @@ -61,7 +61,7 @@ extern int mt_main(int argc, char **argv) struct mtop op; int fd; - if ((argc != 2 && argc != 3) || **(argv + 1) == '-') { + if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { usage(mt_usage); } |