diff options
Diffstat (limited to 'usr.sbin/relayd/check_script.c')
-rw-r--r-- | usr.sbin/relayd/check_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/check_script.c b/usr.sbin/relayd/check_script.c index 16754b28c01..f11cb13f5eb 100644 --- a/usr.sbin/relayd/check_script.c +++ b/usr.sbin/relayd/check_script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: check_script.c,v 1.6 2008/02/13 11:32:59 reyk Exp $ */ +/* $OpenBSD: check_script.c,v 1.7 2008/12/05 16:37:55 reyk Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org> @@ -71,7 +71,7 @@ script_done(struct relayd *env, struct ctl_script *scr) host->flags |= F_CHECK_DONE; hce_notify_done(host, host->up == HOST_UP ? - "script: done" : "script: failed"); + HCE_SCRIPT_OK : HCE_SCRIPT_FAIL); } void |