summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2022-08-29 19:37:33 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2022-08-29 19:37:33 +0000
commit02bd094c82373459dc3013d6a57d284e699db679 (patch)
tree508438d0204df579c7c314e2786f20100c1d7cc5 /etc
parent6419cedde357c1a4aeedc0e08439ab150431e38c (diff)
When using logger(1), also log the message to standard error so we don't
have to check syslog when running in debug mode (`-d').
Diffstat (limited to 'etc')
-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 c1e5a1728de..542670c2c38 100644
--- a/etc/rc.d/rc.subr
+++ b/etc/rc.d/rc.subr
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.subr,v 1.155 2022/08/29 19:14:02 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.156 2022/08/29 19:37:32 ajacoutot Exp $
#
# Copyright (c) 2010, 2011, 2014-2022 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -175,7 +175,7 @@ rc_exec() {
${daemon_execdir:+cd ${daemon_execdir} && } \
$@ \
${daemon_logger:+ 2>&1 |
- logger -ip ${daemon_logger} -t ${_name}}"
+ logger -isp ${daemon_logger} -t ${_name}}"
}
rc_start() {