diff options
-rw-r--r-- | src/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c index c9e1f4d95..e913cb2a0 100644 --- a/src/install.c +++ b/src/install.c @@ -325,7 +325,7 @@ main (int argc, char **argv) n_files = argc - optind; file = argv + optind; - if (n_files <= !target_directory) + if (n_files <= !(dir_arg || target_directory)) { if (n_files <= 0) error (0, 0, _("missing file operand")); |