diff options
Diffstat (limited to 'etc/rc.d/relayd')
-rw-r--r-- | etc/rc.d/relayd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.d/relayd b/etc/rc.d/relayd index 283a11dfe0f..a2688e8f705 100644 --- a/etc/rc.d/relayd +++ b/etc/rc.d/relayd @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: relayd,v 1.5 2018/01/11 22:44:44 rpe Exp $ +# $OpenBSD: relayd,v 1.6 2019/01/21 01:41:16 claudio Exp $ daemon="/usr/sbin/relayd" @@ -8,7 +8,8 @@ daemon="/usr/sbin/relayd" # Child will not return a config parsing error to the parent. rc_pre() { - ${daemon} -n ${daemon_flags} + # use rcexec here since daemon_flags may contain arguments with spaces + ${rcexec} "${daemon} -n ${daemon_flags}" } rc_cmd $1 |