Show
Ignore:
Timestamp:
05/23/08 18:52:56 (7 years ago)
Author:
Mark Harrison <mark@omniti.com>
git-committer:
Mark Harrison <mark@omniti.com> 1211568776 +0000
git-parent:

[e91599d1e782e46c10017f061273bd9e3d5b6dd7]

git-author:
Mark Harrison <mark@omniti.com> 1211568776 +0000
Message:

Fix the oldfiles check to actually look for old files and not include old
directories.

git-svn-id: https://labs.omniti.com/resmon/trunk@113 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Module/OLDFILES.pm

    r488858a r78cf7c4  
    3838 
    3939    # Then look for old files 
    40     my $output = cache_command("find $dir -mmin +$minutes | wc -l", 600); 
     40    my $output = cache_command("find $dir -type f -mmin +$minutes | wc -l", 600); 
    4141    chomp($output); 
    4242    if ($output <= $filecount) {