Replace `&&' with `if' for proper $? handling; OK lucas
authorkn <kn@openbsd.org>
Mon, 23 Sep 2024 20:54:01 +0000 (20:54 +0000)
committerkn <kn@openbsd.org>
Mon, 23 Sep 2024 20:54:01 +0000 (20:54 +0000)
commit957905706c6e9612b495b03b2c96863ec67583e9
tree609fa9ebe464b0dd445bec06c0398331f357f832
parentad37d21be2965392f092995ca1ef57693141d8d9
Replace `&&' with `if' for proper $? handling;  OK lucas

iked and isakmpd guard against themselves with "return 0" as rc.subr(8)
checks rc_pre()'s return code and aborts daemo start iff non-zero, but
that isn't needed if we use ksh properly.
etc/rc.d/iked
etc/rc.d/isakmpd