From e5c0d4b3033945f653324aa21b60ad93ff4b77e0 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Fri, 2 Jan 2015 14:44:05 +0000 Subject: [PATCH] Fix return code of _rc_quirks(). ok robert@ --- src/etc/rc.d/rc.subr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.d/rc.subr b/src/etc/rc.d/rc.subr index 02f67ff7..eeaa7db8 100644 --- a/src/etc/rc.d/rc.subr +++ b/src/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.91 2015/01/02 08:03:28 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.92 2015/01/02 14:44:05 ajacoutot Exp $ # # Copyright (c) 2010, 2011, 2014 Antoine Jacoutot # Copyright (c) 2010, 2011 Ingo Schwarze @@ -106,7 +106,9 @@ _rc_quirks() { fi # in case domainname is set and /var/yp/binding exists enable ypbind - [ X"`domainname`" != X"" -a -d /var/yp/binding ] && ypbind_flags= + if [ X"`domainname`" != X"" -a -d /var/yp/binding ]; then + ypbind_flags= + fi } _rc_parse_conf() {