summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFirerat <firer4t@googlemail.com>2010-09-20 03:36:24 +0100
committerFirerat <firer4t@googlemail.com>2010-09-20 03:36:24 +0100
commit5a83cc4a31d4cc861f430646e93915dc58daafc0 (patch)
tree2bb1dc219c938d6948edde280493b2757414fe7f
parentc74211374a2f93878ffc87c53fbe54bd57a7d445 (diff)
downloadvendor_replicant-5a83cc4a31d4cc861f430646e93915dc58daafc0.zip
vendor_replicant-5a83cc4a31d4cc861f430646e93915dc58daafc0.tar.gz
vendor_replicant-5a83cc4a31d4cc861f430646e93915dc58daafc0.tar.bz2
e2fsck returns exit 1 if filesystem is repaired
credits: Ohsaka and NLJ of xda http://goo.gl/SJNk
-rwxr-xr-xprebuilt/common/etc/init.d/05mountsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/common/etc/init.d/05mountsd b/prebuilt/common/etc/init.d/05mountsd
index 8315466..c5b87e2 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