diff options
Diffstat (limited to '')
-rw-r--r-- | twrpTar.cpp | 2 |
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) |