diff options
Diffstat (limited to 'roots.cpp')
-rw-r--r-- | roots.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -458,7 +458,10 @@ int format_volume(const char* volume, bool force) { return rc; } - LOGE("format_volume failed to mount /data, formatting instead\n"); + else { + LOGE("format_volume failed to mount /data\n"); + return -1; + } } if (ensure_path_unmounted(volume) != 0) { |