Skip to contentSkip to conversation

cr-ensure-disk-space: Actually quit before taking lock if all is well

PATCH New Ian Jackson 1 participant 1 message Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 cr-ensure-disk-space | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cr-ensure-disk-space +1 -1
index 8d3d443..7091314 100755
@@ -79,7 +79,7 @@ sub quit_ok () {
 
 $|=1;
 
-check_space if check_space;
+quit_ok if check_space;
 
 print "taking lock...";
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel