]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
cr-ensure-disk-space: Dry run produces better `die' message.
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 4 Oct 2016 12:08:57 +0000 (13:08 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 4 Oct 2016 12:08:57 +0000 (13:08 +0100)
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cr-ensure-disk-space

index c65423a54e1cb7df00dc2864ad06a34909478e67..83372ca7c089adf63e26376d84347f93b0f4a30c 100755 (executable)
@@ -153,7 +153,7 @@ sub iteration_proceed () {
 
     printf "...";
 
-    die if $dryrun;
+    die "dry run" if $dryrun;
 
     my $spawn= sub {
         $!=0; my $r= system @_; die "@_ $r $!" if $r;