diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-08 10:52:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-08 10:52:28 +0000 |
commit | bbd695d8010ab453a5a89ba6d7ebfe1a96b87b7d (patch) | |
tree | 98df39594da2e7f1fbe560aec04eeb09426947f0 /archival | |
parent | ca3484103e6b99d0c433988f2f809840d780d88b (diff) | |
download | busybox-bbd695d8010ab453a5a89ba6d7ebfe1a96b87b7d.tar.gz |
find: fix handling of -prune
recursive_actions: uppercase flag constants
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 5a6ef60db..6552d6c57 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -562,8 +562,8 @@ static int writeTarFile(const int tar_fd, const int verboseFlag, /* Read the directory/files and iterate over them one at a time */ while (include) { - if (!recursive_action(include->data, (action_recurse | - dereferenceFlag ? action_followLinks : 0), + if (!recursive_action(include->data, ACTION_RECURSE | + (dereferenceFlag ? ACTION_FOLLOWLINKS : 0), writeFileToTarball, writeFileToTarball, &tbInfo, 0)) { errorFlag = TRUE; |