summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fc34f5)
raw | patch | inline | side by side (parent: 3fc34f5)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 14 Sep 2005 14:40:20 +0000 (14:40 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 14 Sep 2005 14:40:20 +0000 (14:40 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ping.c | patch | blob | history |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index a6c43c362343d74b32385abf470d1b9b4e0b9884..1903678dfbd8fb61ccddff97408db751ed8fb882 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
}
if (n_addresses == 0) {
- printf(_("You must specify a server address or host name\n"));
- return ERROR;
+ usage (_("You must specify a server address or host name"));
}
return OK;