aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Arnold <wopfel@gmail.com> 2018-06-13 16:10:17 +0200
committerGravatar Bernd Arnold <wopfel@gmail.com> 2018-06-13 16:10:17 +0200
commita784b19d6fc193e4c98ec6b2248bf4e252a9a0d7 (patch)
tree0667e1ba11831f13ae2a4bc6acb6ff99cd9c868a
parent9ee884b3de6c95f871a714dfc67cfb9b5e11724f (diff)
downloadmonitoring-plugins-a784b19d6fc193e4c98ec6b2248bf4e252a9a0d7.tar.gz
Modified alignment
-rwxr-xr-xplugins-scripts/check_uptime.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_uptime.pl b/plugins-scripts/check_uptime.pl
index 88170307..2b230f5c 100755
--- a/plugins-scripts/check_uptime.pl
+++ b/plugins-scripts/check_uptime.pl
@@ -192,7 +192,7 @@ sub process_arguments(){
if ( $opt_w =~ /^(\d+)([a-z])$/ ) {
my $value = $1;
my $suffix = $2;
- print "warning: value=$value, suffix=$suffix\n" if $verbose;
+ print "warning: value=$value, suffix=$suffix\n" if $verbose;
if ( ! defined $factor{$suffix} ) {
print "Error: wrong suffix ($suffix) for warning";
exit $ERRORS{'UNKNOWN'};
@@ -202,7 +202,7 @@ sub process_arguments(){
if ( $opt_c =~ /^(\d+)([a-z])$/ ) {
my $value = $1;
my $suffix = $2;
- print "critical: value=$value, suffix=$suffix\n" if $verbose;
+ print "critical: value=$value, suffix=$suffix\n" if $verbose;
if ( ! defined $factor{$suffix} ) {
print "Error: wrong suffix ($suffix) for critical";
exit $ERRORS{'UNKNOWN'};