summaryrefslogtreecommitdiff
path: root/etc/rc.d/rc.subr
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2016-05-03 08:59:30 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2016-05-03 08:59:30 +0000
commit462e12664fd37974b168bdb66da67e5afea18b5a (patch)
treeda468ca269970926690339e7b9379c790a2be552 /etc/rc.d/rc.subr
parent1741e8400f3a0e369759a089a656278b2d11b84e (diff)
signal name should be first, fixes reload; ok deraadt@
Diffstat (limited to 'etc/rc.d/rc.subr')
-rw-r--r--etc/rc.d/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr
index be54d90c408..a52fa0a5878 100644
--- a/etc/rc.d/rc.subr
+++ b/etc/rc.d/rc.subr
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.subr,v 1.113 2016/04/28 09:15:16 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.114 2016/05/03 08:59:29 otto Exp $
#
# Copyright (c) 2010, 2011, 2014-2016 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -159,7 +159,7 @@ rc_check() {
}
rc_reload() {
- pkill -T "${daemon_rtable}" -HUP -xf "${pexp}"
+ pkill -HUP -T "${daemon_rtable}" -xf "${pexp}"
}
rc_stop() {