]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
cr-ensure-disk-space: Actually quit before taking lock if all is well
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 5 Apr 2018 14:38:39 +0000 (15:38 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 5 Apr 2018 14:38:39 +0000 (15:38 +0100)
5d2466dc0f26 "cr-ensure-disk-space: Correct stdout output" was
supposed to change an `exit 0' into a `quit_ok' but erroneously
changed it into `check_space'.  Fix this.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cr-ensure-disk-space

index 8d3d443951cc5cbf0f90b1bd89d60e1bfaf784b1..709131480c12361969d9402395ca69e1327acd88 100755 (executable)
@@ -79,7 +79,7 @@ sub quit_ok () {
 
 $|=1;
 
-check_space if check_space;
+quit_ok if check_space;
 
 print "taking lock...";