summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_file_age.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
commit6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch)
tree0c1f5a77cacc664eadd47216b70e3257337484db /plugins-scripts/check_file_age.pl
parent56cf151ae91c5081a99365848a3f060dfe14a68c (diff)
downloadmonitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-xplugins-scripts/check_file_age.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl
index ca8883e..dcd5efa 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
57if ($opt_V) { 56if ($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
104sub print_help () { 103sub 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";