From 9e17dab6c3e4b4e7142f3ea5b2a60fcd488dc709 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Thu, 7 Aug 2003 11:51:12 +0000 Subject: replace "terminate" with "die" for shorter name and better readability git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/negate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/negate.c') diff --git a/plugins/negate.c b/plugins/negate.c index faf81b34..3ef5ee76 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -138,13 +138,13 @@ main (int argc, char **argv) /* Set signal handling and alarm */ if (signal (SIGALRM, timeout_alarm_handler) == SIG_ERR) - terminate (STATE_UNKNOWN, _("Cannot catch SIGALRM")); + die (STATE_UNKNOWN, _("Cannot catch SIGALRM")); (void) alarm ((unsigned) timeout_interval); child_process = spopen (command_line); if (child_process == NULL) - terminate (STATE_UNKNOWN, _("Could not open pipe: %s\n"), command_line); + die (STATE_UNKNOWN, _("Could not open pipe: %s\n"), command_line); child_stderr = fdopen (child_stderr_array[fileno (child_process)], "r"); if (child_stderr == NULL) { @@ -163,7 +163,7 @@ main (int argc, char **argv) } if (!found) - terminate (STATE_UNKNOWN,\ + die (STATE_UNKNOWN,\ _("%s problem - No data recieved from host\nCMD: %s\n"),\ argv[0], command_line); -- cgit v1.2.3