From 71a7f92a991f65b1d4882d48a2606c1dfd4c5c8e Mon Sep 17 00:00:00 2001 From: rpe Date: Fri, 1 Aug 2014 04:57:01 +0000 Subject: [PATCH] Don't return, just skip over non existing rc.conf or rc.conf.local file. OK ajacoutot@ halex@ --- etc/rc.d/rc.subr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 5f37d5fe888..c92c158ea34 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.76 2014/07/31 14:57:41 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.77 2014/08/01 04:57:01 rpe Exp $ # # Copyright (c) 2010, 2011, 2014 Antoine Jacoutot # Copyright (c) 2010, 2011 Ingo Schwarze @@ -124,7 +124,7 @@ _rc_parse_conf() { nfs_server for _rcfile in $_rcconf $_rcconf_local; do - [[ -f $_rcfile ]] || return + [[ -f $_rcfile ]] || continue while IFS=' ' read -r _l; do [[ $_l == [!#=]*=* ]] || continue _key=${_l%%*([[:blank:]])=*} -- 2.20.1