From: Ian Jackson Date: Thu, 5 Apr 2018 14:38:39 +0000 (+0100) Subject: cr-ensure-disk-space: Actually quit before taking lock if all is well X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=62a3d77784965cbb9e49424ac09501d7bb650d3f;p=people%2Faperard%2Fosstest.git cr-ensure-disk-space: Actually quit before taking lock if all is well 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 --- diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 8d3d4439..70913148 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -79,7 +79,7 @@ sub quit_ok () { $|=1; -check_space if check_space; +quit_ok if check_space; print "taking lock...";