Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 cr-ensure-disk-space |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space
index 31880f7..6f129bd 100755
--- a/cr-ensure-disk-space
+++ b/cr-ensure-disk-space
@@ -60,7 +60,7 @@ sub ontarget ($) {
 }
 
 for (;;) {
-    open P, "df --block-size=1M -P . |" or die $!;
+    open P, "-|", ontarget "df --block-size=1M -P $pubdir" or die $!;
     $_= <P>;
     m/^filesystem/i or die "$_ ?";
     $_= <P>;
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to