[Mageia-sysadm] [352] backport a one-liner fix from mdv: " it should say where it lacks disk space" (bogdano)

root at mageia.org root at mageia.org
Wed Jan 26 23:02:44 CET 2011


Revision: 352
Author:   tv
Date:     2011-01-26 23:02:43 +0100 (Wed, 26 Jan 2011)
Log Message:
-----------
backport a one-liner fix from mdv: "it should say where it lacks disk space" (bogdano)

Modified Paths:
--------------
    build_system/iurt/trunk/lib/Iurt/Process.pm

Modified: build_system/iurt/trunk/lib/Iurt/Process.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Process.pm	2011-01-26 00:11:09 UTC (rev 351)
+++ build_system/iurt/trunk/lib/Iurt/Process.pm	2011-01-26 22:02:43 UTC (rev 352)
@@ -162,7 +162,7 @@
 		    }
 		    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();
 		    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110126/421a6d86/attachment.html>


More information about the Mageia-sysadm mailing list