From af45526b86bf31706228c36d00311fec5309222d Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Fri, 2 Jan 2015 14:44:06 +0000 Subject: Fix return code of _rc_quirks(). ok robert@ --- etc/rc.d/rc.subr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 02f67ff728f..eeaa7db8be9 100644 --- a/etc/rc.d/rc.subr +++ b/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() { -- cgit v1.2.3