diff --git a/check_portstatus.pl b/check_portstatus.pl
index d15f7bf..a642c5a 100755
--- a/check_portstatus.pl
+++ b/check_portstatus.pl
@@ -191,7 +191,7 @@
if( ( $sysuptime - $t_lastChange ) <= $window && ( $sysuptime - $t_lastChange ) >= 0 ) {
&setstate( 'WARNING',
- sprintf( "Port state change to $CISCO_PORT_OPER_STATES{$t_state} %0.1f mins ago for ${t_name} [DESC: ${t_alias}] [Reason: %s]",
+ sprintf( "Port state change to $CISCO_PORT_OPER_STATES{$t_state} %0.1f mins ago for ${t_name} [DESC: ${t_alias}] [Reason: %s]. ",
( $sysuptime - $t_lastChange ) / 60.0, defined( $t_changeReason ) ? $t_changeReason : ''
)
);
@@ -269,7 +269,7 @@ sub setstate {
$state = $newstate;
}
- if( $answer ) { $answer .= "
\n"; }
+ # if( $answer ) { $answer .= "
\n"; }
$answer .= $message;
}