diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-05-07 20:17:43 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2008-05-07 20:17:43 +0000 |
commit | 36c25788dc7d1859b1efe716c1647f8a375934f2 (patch) | |
tree | 3d6f8588c2fdc3bb7b64f5e9205ced48b309e3cd | |
parent | 9373218c11fbfef514554b3becb4d379697a7dcf (diff) |
different separators
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@347 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | nagios-check-hpacucli | 4 |
1 files 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}; |