summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.c
diff options
context:
space:
mode:
authorJesse Zhao <jessezhao@google.com>2015-02-18 02:09:23 +0100
committerJesse Zhao <jessezhao@google.com>2015-02-18 02:09:29 +0100
commit1df64d3278378d0d234be11cfeafec5e6a96bd2d (patch)
treec35087524af3772e850942d3335df1bb76bc4a43 /updater/blockimg.c
parentam f8dd04e1: am ff934d02: Merge "Fix Droid and animation color in recovery mode" (diff)
downloadandroid_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.gz
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.bz2
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.lz
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.xz
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.zst
android_bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index a0f81e935..9c39634fc 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -1643,7 +1643,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, int argc,
goto pbiudone;
}
- if (stash_max_blocks > 0) {
+ if (stash_max_blocks >= 0) {
res = CreateStash(state, stash_max_blocks, blockdev_filename->data,
&params.stashbase);