diff options
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
| -rwxr-xr-x | plugins-scripts/check_file_age.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index ca8883e5..dcd5efab 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #!/bin/perl -w | 1 | #!/bin/perl -w |
| 2 | # $Id$ | ||
| 3 | 2 | ||
| 4 | # check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> | 3 | # check_file_age.pl Copyright (C) 2003 Steven Grimm <koreth-nagios@midwinter.com> |
| 5 | # | 4 | # |
| @@ -55,7 +54,7 @@ GetOptions( | |||
| 55 | "C=f" => \$opt_C, "critical-size=f" => \$opt_C); | 54 | "C=f" => \$opt_C, "critical-size=f" => \$opt_C); |
| 56 | 55 | ||
| 57 | if ($opt_V) { | 56 | if ($opt_V) { |
| 58 | print_revision($PROGNAME, '$Revision$'); | 57 | print_revision($PROGNAME, '@NP_VERSION@'); |
| 59 | exit $ERRORS{'OK'}; | 58 | exit $ERRORS{'OK'}; |
| 60 | } | 59 | } |
| 61 | 60 | ||
| @@ -102,7 +101,7 @@ sub print_usage () { | |||
| 102 | } | 101 | } |
| 103 | 102 | ||
| 104 | sub print_help () { | 103 | sub print_help () { |
| 105 | print_revision($PROGNAME, '$Revision$'); | 104 | print_revision($PROGNAME, '@NP_VERSION@'); |
| 106 | print "Copyright (c) 2003 Steven Grimm\n\n"; | 105 | print "Copyright (c) 2003 Steven Grimm\n\n"; |
| 107 | print_usage(); | 106 | print_usage(); |
| 108 | print "\n"; | 107 | print "\n"; |
