e2fsck returns exit 1 if filesystem is repaired
credits: Ohsaka and NLJ of xda
http://goo.gl/SJNk
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 @@
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