Code

check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)
[nagiosplug.git] / plugins-scripts / utils.pm.in
index 08776f181ea33108a39076f7a117d1534651b7aa..37cd62c3b8210f3476f0f3964491eb3a35e3caf3 100644 (file)
@@ -1,5 +1,4 @@
 # Utility drawer for Nagios plugins.
-# $Id$
 #
 # This will be deprecated soon. Please use Nagios::Plugin from CPAN
 # for new plugins
@@ -32,8 +31,6 @@ $TIMEOUT = 15;
 sub print_revision ($$) {
        my $commandName = shift;
        my $pluginRevision = shift;
-       $pluginRevision =~ s/^\$Revision: //;
-       $pluginRevision =~ s/ \$\s*$//;
        print "$commandName v$pluginRevision (@PACKAGE@ @VERSION@)\n";
        print "@WARRANTY@";
 }