summaryrefslogtreecommitdiffstats
path: root/plugins/check_dummy.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-05-24 08:35:53 +0000
committerTon 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)
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)