diff options
Diffstat (limited to 'plugins-scripts/utils.pm.in')
| -rw-r--r-- | plugins-scripts/utils.pm.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in index 08776f18..37cd62c3 100644 --- a/plugins-scripts/utils.pm.in +++ b/plugins-scripts/utils.pm.in | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | # Utility drawer for Nagios plugins. | 1 | # Utility drawer for Nagios plugins. |
| 2 | # $Id$ | ||
| 3 | # | 2 | # |
| 4 | # This will be deprecated soon. Please use Nagios::Plugin from CPAN | 3 | # This will be deprecated soon. Please use Nagios::Plugin from CPAN |
| 5 | # for new plugins | 4 | # for new plugins |
| @@ -32,8 +31,6 @@ $TIMEOUT = 15; | |||
| 32 | sub print_revision ($$) { | 31 | sub print_revision ($$) { |
| 33 | my $commandName = shift; | 32 | my $commandName = shift; |
| 34 | my $pluginRevision = shift; | 33 | my $pluginRevision = shift; |
| 35 | $pluginRevision =~ s/^\$Revision: //; | ||
| 36 | $pluginRevision =~ s/ \$\s*$//; | ||
| 37 | print "$commandName v$pluginRevision (@PACKAGE@ @VERSION@)\n"; | 34 | print "$commandName v$pluginRevision (@PACKAGE@ @VERSION@)\n"; |
| 38 | print "@WARRANTY@"; | 35 | print "@WARRANTY@"; |
| 39 | } | 36 | } |
