diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-04-06 10:34:07 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-04-06 10:34:07 +0000 |
commit | 36090d7d55353311dbc55e6e0a87ef9828e57652 (patch) | |
tree | d0958b16efb6ec34fb987027c8dd46cbb2eb4ca5 | |
parent | 83cb7370e3742e8f04d382b9e9d22cb5a67c3e4f (diff) |
join messages on a single line
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@66 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | nagios-check-soas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nagios-check-soas b/nagios-check-soas index 8d6f6fb..b702f95 100755 --- a/nagios-check-soas +++ b/nagios-check-soas @@ -64,9 +64,9 @@ ARGV.each{ |domain| dns.close if warnings.length > 0 - warnings.each{ |w| puts w } + puts warnings.join('; ') exit NAGIOS_STATUS[:WARNING] else - oks.each{ |w| puts w } + puts oks.join('; ') exit NAGIOS_STATUS[:OK] end |