aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ping.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index a6c43c36..1903678d 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -393,8 +393,7 @@ validate_arguments ()
}
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;