summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 428bd11..d864e21 100644
--- a/init
+++ b/init
@@ -4,7 +4,7 @@ trap 'exec sh' EXIT
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-mount -t proc proc /proc
+mount -t proc proc /proc || exit
mount -t devtmpfs devtmpfs /dev || exit
# /dev/pts for dropbear
mount -t devpts devpts /dev/pts
@@ -12,7 +12,7 @@ mount -t devpts devpts /dev/pts
while read -r line; do
case "$line" in
'#'*) ;;
- *) modprobe $line || exit
+ *) modprobe $line
esac
done < /etc/modules