Merge "e2fsck returns exit 1 if filesystem is repaired credits: Ohsaka and NLJ of xda http://goo.gl/SJNk" into froyo

This commit is contained in:
Steve Kondik 2010-09-20 20:16:25 +00:00 committed by Gerrit Code Review
commit 15f10b40d6
1 changed files with 1 additions and 1 deletions

View File

@ -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