From 5a83cc4a31d4cc861f430646e93915dc58daafc0 Mon Sep 17 00:00:00 2001 From: Firerat Date: Mon, 20 Sep 2010 03:36:24 +0100 Subject: [PATCH] e2fsck returns exit 1 if filesystem is repaired credits: Ohsaka and NLJ of xda http://goo.gl/SJNk --- prebuilt/common/etc/init.d/05mountsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prebuilt/common/etc/init.d/05mountsd b/prebuilt/common/etc/init.d/05mountsd index 83154669..c5b87e22 100755 --- a/prebuilt/common/etc/init.d/05mountsd +++ b/prebuilt/common/etc/init.d/05mountsd @@ -39,7 +39,7 @@ then fi # set property with exit code in case an error occurs setprop cm.e2fsck.errors $e2fsk_exitcode; - if [ "$e2fsk_exitcode" = 0 ]; + if [ "$e2fsk_exitcode" -lt 2 ]; then # mount and set perms