summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/copy_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c
index 6c22002..062ecb9 100644
--- a/libbb/copy_file.c
+++ b/libbb/copy_file.c
@@ -242,5 +242,5 @@ end:
perror_msg("unable to preserve permissions of `%s'", dest);
}
- return 0;
+ return status;
}