commit | 852bb420e7161cd26535ab57834f729b96b13bee | [log] [tgz] |
---|---|---|
author | Koushik Dutta <koushd@gmail.com> | Sat Jul 24 11:18:00 2010 -0700 |
committer | Koushik Dutta <koushd@gmail.com> | Sat Jul 24 11:18:00 2010 -0700 |
tree | 0ff9cb8ff6435bcff0b2a0abae18426b6aa11e19 | |
parent | d4060c3eb656ba475a4d9fea7f1fa786a82960f6 [diff] [blame] |
Do not unmount on wipe unless needed. Add reboot binary. Restart recovery process for Galaxy S.
diff --git a/roots.c b/roots.c index df49cc3..474ea1d 100644 --- a/roots.c +++ b/roots.c
@@ -345,7 +345,7 @@ LOGW("format_root_device: can't resolve \"%s\"\n", root); return -1; } - if (info->mount_point != NULL) { + if (info->mount_point != NULL && info->device == g_mtd_device) { /* Don't try to format a mounted device. */ int ret = ensure_root_path_unmounted(root);