summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-07 14:14:35 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-07 14:14:35 +0000
commit6a07ff1ec068c6255d45644eb182dea5c0027286 (patch)
tree9147498626288f69531b659d2a0b008afc1d9696 /src/libutil
parent7d8cf316eec3b5b1f2cf5ae8558a80bcaa69437f (diff)
downloadguix-6a07ff1ec068c6255d45644eb182dea5c0027286.tar.gz
* Change the ownership of store paths to the Nix account before
  deleting them using the setuid helper.

Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 5907adc807..b152dc8f4b 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -797,7 +797,7 @@ string runProgram(Path program)
     /* Wait for the child to finish. */
     int status = pid.wait(true);
     if (!statusOk(status))
-        throw Error(format("program `%1% %2%")
+        throw Error(format("program `%1%' %2%")
             % program % statusToString(status));
 
     return result;