Fix exit status when there is an error copying a file.
This commit is contained in:
parent
af166e7ce0
commit
24abecc349
@ -242,5 +242,5 @@ end:
|
||||
perror_msg("unable to preserve permissions of `%s'", dest);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user