[Nagiosplug-checkins] nagiosplug/plugins check_ping.c,1.48,1.49

Ton Voon tonvoon at users.sourceforge.net
Wed Sep 14 07:43:24 CEST 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4356

Modified Files:
	check_ping.c 
Log Message:
Using common message


Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- check_ping.c	14 Sep 2005 14:36:00 -0000	1.48
+++ check_ping.c	14 Sep 2005 14:40:20 -0000	1.49
@@ -393,8 +393,7 @@
 	}
 
 	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;





More information about the Commits mailing list