summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-08-03 08:30:09 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-08-03 22:41:51 +0100
commite4130d897958102a5be89236ac79372bbf688708 (patch)
tree443d09553f9c4a4cb792e1ac7b432ce3b06ec02f
parent9568b909e30d15f9839da88e74e9632188bec48b (diff)
playground refactor: Dgit.pm: fresh_playground: Improve error message
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--Debian/Dgit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm
index 3abb174..c4a61af 100644
--- a/Debian/Dgit.pm
+++ b/Debian/Dgit.pm
@@ -561,7 +561,7 @@ sub fresh_playground ($) {
my ($spc) = @_;
$spc = ensure_a_playground_parent $spc;
rmtree $spc;
- mkdir $spc or die "$spc $!";
+ mkdir $spc or fail "failed to mkdir the playground $spc: $!";
return $playground = $spc;
}