Просмотр исходного кода

- Fixed file name (Matt Garrett)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 22 лет назад
Родитель
Сommit
7faea6d54a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      plugins-scripts/check_file_age.pl

+ 2 - 2
plugins-scripts/check_file_age.pl

@@ -1,7 +1,7 @@
 #!/bin/perl -w
 #!/bin/perl -w
 # $Id$
 # $Id$
 
 
-# check_file.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com>
+# check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com>
 #
 #
 # Checks a file's size and modification time to make sure it's not empty
 # Checks a file's size and modification time to make sure it's not empty
 # and that it's sufficiently recent.
 # and that it's sufficiently recent.
@@ -36,7 +36,7 @@ sub print_usage ();
 my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V);
 my ($opt_c, $opt_f, $opt_w, $opt_C, $opt_W, $opt_h, $opt_V);
 my ($result, $message, $age, $size, $st);
 my ($result, $message, $age, $size, $st);
 
 
-$PROGNAME="check_file";
+$PROGNAME="check_file_age";
 
 
 $opt_w = 240;
 $opt_w = 240;
 $opt_c = 600;
 $opt_c = 600;