summaryrefslogtreecommitdiffhomepage
path: root/miscutils/mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r--miscutils/mt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 28922f8d9..44f23884c 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);
}