diff options
Diffstat (limited to 'etc/rc.d/isakmpd')
-rw-r--r-- | etc/rc.d/isakmpd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/isakmpd b/etc/rc.d/isakmpd index 1f554005b9c..559d0af3edd 100644 --- a/etc/rc.d/isakmpd +++ b/etc/rc.d/isakmpd @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: isakmpd,v 1.3 2018/01/11 21:09:26 rpe Exp $ +# $OpenBSD: isakmpd,v 1.4 2024/09/23 20:54:01 kn Exp $ daemon="/sbin/isakmpd" @@ -9,9 +9,9 @@ daemon="/sbin/isakmpd" pexp="isakmpd: monitor \[priv\]" rc_pre() { - [[ ${sasyncd_flags} != NO ]] && + if [[ ${sasyncd_flags} != NO ]]; then daemon_flags="-S ${daemon_flags}" - return 0 + fi } rc_cmd $1 |