SF.net SVN: logwatch:[139] scripts/services/zz-disk_space

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 139
          http://logwatch.svn.sourceforge.net/logwatch/?rev=139&view=rev
Author:   stefjakobs
Date:     2013-03-25 10:37:58 +0000 (Mon, 25 Mar 2013)
Log Message:
-----------
zz-disk_space: print *_dir_sizes only if $Detail > 10 (revert to
state from rev 89)

Revision Links:
--------------
    http://logwatch.svn.sourceforge.net/logwatch/?rev=89&view=rev

Modified Paths:
--------------
    scripts/services/zz-disk_space

Modified: scripts/services/zz-disk_space
===================================================================
--- scripts/services/zz-disk_space	2013-03-20 20:06:19 UTC (rev 138)
+++ scripts/services/zz-disk_space	2013-03-25 10:37:58 UTC (rev 139)
@@ -193,11 +193,11 @@
 
 if ( $show_disk_usage == 1 ) { DiskUsage(); }; #Turn on in zz-disk_space.conf
 
-if (($Detail >= 10) || ($show_home_dir_sizes == 1)) { #set in zz-disk_space.conf -mgt
+if (($Detail > 10) || ($show_home_dir_sizes == 1)) { #set in zz-disk_space.conf -mgt
 	HomeDirectorySizes($home_dir);
 }
 
-if (($Detail >= 10) || ($show_mail_dir_sizes == 1)) { #set in zz-disk_space.conf -mgt
+if (($Detail > 10) || ($show_mail_dir_sizes == 1)) { #set in zz-disk_space.conf -mgt
 	MailDirectorySizes($mail_dir);
 }
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.