aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-01-26 22:02:43 +0000
committerThierry Vignaud <tv@mageia.org>2011-01-26 22:02:43 +0000
commita6e588310abe421c3db8cc8416e5c87497a573ab (patch)
tree152c4b7b44727fdea98af21d471f71c1fc0d2b68 /lib
parent3a2f2ce2d287a5aeea438961c888b7c277158f5a (diff)
downloadiurt-a6e588310abe421c3db8cc8416e5c87497a573ab.tar
iurt-a6e588310abe421c3db8cc8416e5c87497a573ab.tar.gz
iurt-a6e588310abe421c3db8cc8416e5c87497a573ab.tar.bz2
iurt-a6e588310abe421c3db8cc8416e5c87497a573ab.tar.xz
iurt-a6e588310abe421c3db8cc8416e5c87497a573ab.zip
backport a one-liner fix from mdv: "it should say where it lacks disk space" (bogdano)
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 8766715..9d740f5 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -162,7 +162,7 @@ sub perform_command {
}
my $df = df $opt{log};
if ($df->{per} >= 99) {
- plog('WARN', "WARNING: killing current command because running out of disk space (only $df->{bavail}KB left)");
+ plog('WARN', "WARNING: killing current command because running out of disk space at $opt{log} (only $df->{bavail}KB left)");
kill 14, "-$parent_pid";
exit();
}