From 0db7e06e7f73054fb1b5d195ecc226fea2024347 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 23 Nov 2006 17:51:03 +0000 Subject: [PATCH] * Oops. svn path=/nixu/trunk/; revision=7098 --- test/boot-stage-2-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/boot-stage-2-init.sh b/test/boot-stage-2-init.sh index 9edb255f3d5..a6295dfc92a 100644 --- a/test/boot-stage-2-init.sh +++ b/test/boot-stage-2-init.sh @@ -23,7 +23,7 @@ done if test -z "@readOnlyRoot@"; then #rootDev=$(grep "/dev/.* / " /proc/mounts | sed 's/^\([^ ]*\) .*/\1/') - if mount -t dontcare -o remount,rw /dontcare /; then + if ! mount -t dontcare -o remount,rw /dontcare /; then echo "Couldn't remount / read-writable, starting emergency shell!" exec @shell@ fi