diff options
| author | Matt Kraai <kraai@debian.org> | 2001-04-30 16:37:04 +0000 |
|---|---|---|
| committer | Matt Kraai <kraai@debian.org> | 2001-04-30 16:37:04 +0000 |
| commit | 24abecc3490cb419ec9bac79af31f8ded1e3fba7 (patch) | |
| tree | 2d677a021896ac8fff9212fad31dbecca732c9d4 | |
| parent | af166e7ce0ceb4b19402a48c68127b425d01fd57 (diff) | |
| download | busybox-w32-24abecc3490cb419ec9bac79af31f8ded1e3fba7.tar.gz busybox-w32-24abecc3490cb419ec9bac79af31f8ded1e3fba7.tar.bz2 busybox-w32-24abecc3490cb419ec9bac79af31f8ded1e3fba7.zip | |
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 6c220022f..062ecb901 100644 --- a/libbb/copy_file.c +++ b/libbb/copy_file.c | |||
| @@ -242,5 +242,5 @@ end: | |||
| 242 | perror_msg("unable to preserve permissions of `%s'", dest); | 242 | perror_msg("unable to preserve permissions of `%s'", dest); |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | return 0; | 245 | return status; |
| 246 | } | 246 | } |
