- fold recurse, depthFirst and dereference params into one param flags.
[platform/upstream/busybox.git] / debianutils / run_parts.c
index b41045a..c670727 100644 (file)
@@ -138,9 +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],
-                       TRUE,           /* recurse */
-                       TRUE,           /* follow links */
-                       FALSE,          /* depth first */
+                       action_recurse|action_followLinks,
                        act,            /* file action */
                        act,            /* dir action */
                        NULL,           /* user data */