[Logwatch-Devel] Patch for disk-space report

Paweł Gołaszewski blues at ds.pg.gda.pl
Mon Aug 16 00:27:35 MST 2004


This is patch from Michal Kochanowicz <michal at michal.waw.pl>
Fixes displaying of disk space, when path is long (devfs or something 
similar).
I know that it conflicts with last changes in that filter, but I think it 
should be included.

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
My jsme borgové. Odpor je marný, budete asimilováni...
-------------- next part --------------
diff -urN logwatch-5.2.2/scripts/services/zz-disk_space logwatch-5.2.2.new/scripts/services/zz-disk_space
--- logwatch-5.2.2/scripts/services/zz-disk_space	2004-06-21 16:18:55.000000000 +0200
+++ logwatch-5.2.2.new/scripts/services/zz-disk_space	2004-07-16 19:26:27.050636392 +0200
@@ -17,7 +17,7 @@
    echo
    echo "------------------ Disk Space --------------------"
    echo
-   df -h | grep '^/dev/'
+   df -h | grep '^[/ ]'
    echo
 elif [ "$PRINTING" = "y" ] ; then
    echo


More information about the Logwatch-Devel mailing list