init

Init system
git clone git://git.carbslinux.org/init
Log | Files | Refs | README | LICENSE

commit 2c629502b4248d266ecde461fb8773198507c6ec
parent a64b09d741a61771bd08a944ac60419f0fb9d058
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 20 May 2020 13:07:55 +0300

rc.boot: read /proc/mounts only if it exists

Diffstat:
Mrc.boot | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rc.boot b/rc.boot @@ -7,7 +7,7 @@ . /usr/lib/init/rc.lib mnt() { - while read -r _ mnt _; do + [ -f /proc/mounts ] && while read -r _ mnt _; do case "$mnt" in "$1") return 0; esac done < /proc/mounts