diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-05-24 08:35:53 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-05-24 08:35:53 +0000 |
commit | eaf9908edd7bce25412dcdf4d96b23f3a3cafd57 (patch) | |
tree | 33f2ef0cf963e4a7a606b2b3089479821c704e40 /plugins/check_dummy.c | |
parent | f8766fe505898d1617e11703840ac0a42f25272e (diff) | |
download | monitoring-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.c | 4 |
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) | |||
84 | printf (_("UNKNOWN")); | 84 | printf (_("UNKNOWN")); |
85 | break; | 85 | break; |
86 | default: | 86 | default: |
87 | printf (_("UNKNOWN")); | ||
88 | printf (": "); | ||
87 | printf (_("Status %d is not a supported error state\n"), result); | 89 | printf (_("Status %d is not a supported error state\n"), result); |
88 | break; | 90 | return STATE_UNKNOWN; |
89 | } | 91 | } |
90 | 92 | ||
91 | if (argc >= 3) | 93 | if (argc >= 3) |