We are going to want this for the df. No functional change yet. Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- cr-ensure-disk-space | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index aeaf572..ff07b76 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -50,6 +50,9 @@ my $chkq= $dbh_tests->prepare("SELECT * FROM flights WHERE flight=?"); our @flights; our @sshopts= qw(-o batchmode=yes); +$c{LogsPublish} =~ m/\:/ or die "$c{LogsPublish} ?"; +my ($pubhost, $pubdir) = ($`,$'); #'; + for (;;) { open P, "df --block-size=1M -P . |" or die $!; $_= <P>; @@ -83,9 +86,6 @@ for (;;) { die "age $age" if $age < $c{LogsMinExpireAge}; - $c{LogsPublish} =~ m/\:/ or die "$c{LogsPublish} ?"; - my ($pubhost, $pubdir) = ($`,$'); #'; - printf "..."; my $spawn= sub { -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel