diff options
author | Mattias Andrée <m@maandree.se> | 2025-02-08 15:21:44 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-02-08 15:21:44 +0100 |
commit | 45cd6ce8a57149a6de063f803683989f05f538ef (patch) | |
tree | 10f77bfaf2b75b5bd249903298b26969f5e708f4 | |
parent | Update e-mail (diff) | |
download | sshexec-45cd6ce8a57149a6de063f803683989f05f538ef.tar.gz sshexec-45cd6ce8a57149a6de063f803683989f05f538ef.tar.bz2 sshexec-45cd6ce8a57149a6de063f803683989f05f538ef.tar.xz |
Fix operand count check
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r-- | sshexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ main(int argc_unused, char *argv[]) } destination = *argv++; - if (!destination && !*argv) + if (!destination || !*argv) usage(); if (dir) { |