summaryrefslogtreecommitdiff
path: root/coreutils/mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r--coreutils/mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c
index 5d0b515..d8dc6c0 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -58,7 +58,7 @@ int mv_main(int argc, char **argv)
if (argc == 2) {
dest_exists = cp_mv_stat(last, &dest_stat);
if (dest_exists < 0) {
- return 1;
+ return EXIT_FAILURE;
}
if (!(dest_exists & 2)) {