aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-06-22 08:50:25 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-06-22 08:50:25 +0000
commitc4cb6ea2bc77f1f9239ce81ffc7a0fa6b540b1ab (patch)
tree73883262549f10206cc2a961dc7fb577f0ba1679 /src/libstore/store.cc
parent88fb4f6e537ebea37fe0aaa4a2b044cf70d32178 (diff)
* Refactoring.
Diffstat (limited to 'src/libstore/store.cc')
-rw-r--r--src/libstore/store.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc
index 73c09b274..59d4430fd 100644
--- a/src/libstore/store.cc
+++ b/src/libstore/store.cc
@@ -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));
}