aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.boot b/rc.boot
index 7d12a78..24f3a4d 100755
--- 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