diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c index 82f29b29d..1784689b6 100644 --- a/src/copy.c +++ b/src/copy.c @@ -506,7 +506,7 @@ copy_internal (const char *src_path, const char *dst_path, program_name, dst_path); } if (!yesno ()) - return 0; + return (move_mode ? 1 : 0); } /* In move_mode, DEST may not be an existing directory. */ |