diff options
author | Matt Kraai | 2001-04-30 16:37:04 +0000 |
---|---|---|
committer | Matt Kraai | 2001-04-30 16:37:04 +0000 |
commit | 24abecc3490cb419ec9bac79af31f8ded1e3fba7 (patch) | |
tree | 2d677a021896ac8fff9212fad31dbecca732c9d4 | |
parent | af166e7ce0ceb4b19402a48c68127b425d01fd57 (diff) | |
download | busybox-24abecc3490cb419ec9bac79af31f8ded1e3fba7.zip busybox-24abecc3490cb419ec9bac79af31f8ded1e3fba7.tar.gz |
Fix exit status when there is an error copying a file.
-rw-r--r-- | libbb/copy_file.c | 2 |
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; } |