1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 05:31:00 +01:00

* Refactoring.

This commit is contained in:
Eelco Dolstra 2004-06-22 08:50:25 +00:00
parent 88fb4f6e53
commit c4cb6ea2bc
4 changed files with 25 additions and 20 deletions

View file

@ -164,7 +164,8 @@ void copyPath(const Path & src, const Path & dst)
throw SysError("waiting for child");
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
throw Error("cannot copy file: child died");
throw Error(format("cannot copy `%1% to `%2%': child %3%")
% src % dst % statusToString(status));
}