find: fix handling of -prune

recursive_actions: uppercase flag constants
This commit is contained in:
Denis Vlasenko committed 2007-04-08 10:52:28 +00:00
1 parent ca3484103e
commit bbd695d801
9 files changed
+71 -59

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ int run_parts_main(int argc, char **argv)
G.cmd[tmp] = arg_list->data;
/* G.cmd[tmp] = NULL; - G is already zeroed out */
if (!recursive_action(argv[argc - 1],
action_recurse|action_followLinks,
ACTION_RECURSE|ACTION_FOLLOWLINKS,
act, /* file action */
act, /* dir action */
NULL, /* user data */