diff options
author | Matt Kraai <kraai@debian.org> | 2001-04-30 20:37:04 +0400 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-04-30 20:37:04 +0400 |
commit | 24abecc3490cb419ec9bac79af31f8ded1e3fba7 (patch) | |
tree | 2d677a021896ac8fff9212fad31dbecca732c9d4 /libbb/copy_file.c | |
parent | af166e7ce0ceb4b19402a48c68127b425d01fd57 (diff) |
Fix exit status when there is an error copying a file.
Diffstat (limited to 'libbb/copy_file.c')
-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 6c220022f..062ecb901 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; } |