aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_dummy.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2007-05-24 08:35:53 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2007-05-24 08:35:53 +0000
commiteaf9908edd7bce25412dcdf4d96b23f3a3cafd57 (patch)
tree33f2ef0cf963e4a7a606b2b3089479821c704e40 /plugins/check_dummy.c
parentf8766fe505898d1617e11703840ac0a42f25272e (diff)
downloadmonitoring-plugins-eaf9908edd7bce25412dcdf4d96b23f3a3cafd57.tar.gz
Tests for check_dummy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1716 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dummy.c')
-rw-r--r--plugins/check_dummy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c
index dfd6c9c2..876ebb11 100644
--- a/plugins/check_dummy.c
+++ b/plugins/check_dummy.c
@@ -84,8 +84,10 @@ main (int argc, char **argv)
printf (_("UNKNOWN"));
break;
default:
+ printf (_("UNKNOWN"));
+ printf (": ");
printf (_("Status %d is not a supported error state\n"), result);
- break;
+ return STATE_UNKNOWN;
}
if (argc >= 3)