aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshexec.c')
-rw-r--r--sshexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshexec.c b/sshexec.c
index 1ad2cf8..987511d 100644
--- a/sshexec.c
+++ b/sshexec.c
@@ -232,7 +232,7 @@ main(int argc_unused, char *argv[])
}
destination = *argv++;
- if (!destination && !*argv)
+ if (!destination || !*argv)
usage();
if (dir) {