diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 176a7e22d..5a6ef60db 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -562,8 +562,9 @@ static int writeTarFile(const int tar_fd, const int verboseFlag, | |||
562 | 562 | ||
563 | /* Read the directory/files and iterate over them one at a time */ | 563 | /* Read the directory/files and iterate over them one at a time */ |
564 | while (include) { | 564 | while (include) { |
565 | if (!recursive_action(include->data, TRUE, dereferenceFlag, | 565 | if (!recursive_action(include->data, (action_recurse | |
566 | FALSE, writeFileToTarball, writeFileToTarball, &tbInfo, 0)) | 566 | dereferenceFlag ? action_followLinks : 0), |
567 | writeFileToTarball, writeFileToTarball, &tbInfo, 0)) | ||
567 | { | 568 | { |
568 | errorFlag = TRUE; | 569 | errorFlag = TRUE; |
569 | } | 570 | } |