From 36c25788dc7d1859b1efe716c1647f8a375934f2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 7 May 2008 20:17:43 +0000 Subject: different separators git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@347 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- nagios-check-hpacucli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios-check-hpacucli b/nagios-check-hpacucli index 26a07fe..c04e9ea 100755 --- a/nagios-check-hpacucli +++ b/nagios-check-hpacucli @@ -136,9 +136,9 @@ for my $slot (sort @controllers) { }; }; - my $status = join("; ", (map { $_.": ".join(", ", @{$status{$_}}) } keys %status)); + my $status = join(" - ", (map { $_.": ".join(", ", @{$status{$_}}) } keys %status)); push @resultstr, "Slot $slot: $status"; }; -print "$EXITCODE: ", join(" - ", @resultstr), "\n"; +print "$EXITCODE: ", join(" --- ", @resultstr), "\n"; exit $CODE{$EXITCODE}; -- cgit v1.2.3