aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar.c b/tar.c
index 597e9b80d..460962e44 100644
--- a/tar.c
+++ b/tar.c
@@ -601,7 +601,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
601 } 601 }
602 602
603 /* Remove files if we would overwrite them */ 603 /* Remove files if we would overwrite them */
604 if (extractFlag == TRUE && tostdOut == FALSE) 604 if (extractFlag == TRUE && tostdoutFlag == FALSE)
605 unlink(header.name); 605 unlink(header.name);
606 606
607 /* If we got here, we can be certain we have a legitimate 607 /* If we got here, we can be certain we have a legitimate