summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-08-14 22:09:30 +0200
committerDees_Troy <dees_troy@teamw.in>2013-08-14 22:09:34 +0200
commit2727b99f5576485c42774db143b16b1c2727dcd8 (patch)
tree4cc3ba4623021ad7e21bec09da2b442e32edd814 /twrpTar.cpp
parentFix touch not working due to gr_fb_width returning 0 in some cases (diff)
downloadandroid_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar.gz
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar.bz2
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar.lz
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar.xz
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.tar.zst
android_bootable_recovery-2727b99f5576485c42774db143b16b1c2727dcd8.zip
Diffstat (limited to '')
-rw-r--r--twrpTar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 8bfbecd13..59d75d0a2 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -1251,7 +1251,7 @@ int twrpTar::closeTar() {
LOGERR("Unable to close tar archive: '%s'\n", tarfn.c_str());
return -1;
}
- if (Archive_Current_Type > 1) {
+ if (Archive_Current_Type > 0) {
close(fd);
int status;
if (pigz_pid > 0 && TWFunc::Wait_For_Child(pigz_pid, &status, "pigz") != 0)