summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2015-01-02 14:44:06 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2015-01-02 14:44:06 +0000
commitaf45526b86bf31706228c36d00311fec5309222d (patch)
tree7556f52963b7b991cc95a2511a946bd46a6fb71d /etc/rc.d
parent1db8c617425f94fc7c4376157f35ad45fc831433 (diff)
Fix return code of _rc_quirks().
ok robert@
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/rc.subr6
1 files 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 <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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() {