From eaf9908edd7bce25412dcdf4d96b23f3a3cafd57 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 24 May 2007 08:35:53 +0000 Subject: Tests for check_dummy git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1716 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_dummy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/check_dummy.c') 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) -- cgit v1.2.3