align data -> indompting

git-svn-id: http://svn.centreon.com/Plugins/Dev@2443 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2007-06-05 19:58:49 +00:00
parent b654b97125
commit d8f8e1db04

View File

@ -5,7 +5,7 @@
# GPL License: http://www.gnu.org/licenses/gpl.txt
#
# Developped by : Julien Mathis - Romain Le Merlus
# Christophe Coraboeuf
# Mathavarajan Sugumaran
#
###################################################################
# This program is free software; you can redistribute it and/or
@ -79,9 +79,7 @@ exit $ERRORS{'OK'};
}
my $snmp = "1";
if ($opt_v && $opt_v =~ /^[0-9]$/) {
$snmp = $opt_v;
}
$snmp = $opt_v if ($opt_v && $opt_v =~ /^[0-9]$/);
@critical = ('2', '4', '6');
if ($opt_c && $opt_c =~ /^([0-9]+),([0-9]+),([0-9]+)$/) {
@ -120,9 +118,7 @@ exit $ERRORS{'OK'};
}
}
if (!$opt_C) {
$opt_C = "public";
}
$opt_C = "public" if (!$opt_C);
my $name = $0;
$name =~ s/\.pl.*//g;