diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-29 10:30:50 +0000 |
commit | 3e816c1252cc55e3763f946622129d31ea1f0f20 (patch) | |
tree | 5031fd816b1df09eaa897530a37ce814bba95011 /debianutils/run_parts.c | |
parent | 3d43edb28c80ee9cb54335f593d42d5d0471e15a (diff) | |
download | busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.gz busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.tar.bz2 busybox-w32-3e816c1252cc55e3763f946622129d31ea1f0f20.zip |
- fold recurse, depthFirst and dereference params into one param flags.
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
Diffstat (limited to 'debianutils/run_parts.c')
-rw-r--r-- | debianutils/run_parts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index b41045a36..c67072730 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c | |||
@@ -138,9 +138,7 @@ int run_parts_main(int argc, char **argv) | |||
138 | G.cmd[tmp] = arg_list->data; | 138 | G.cmd[tmp] = arg_list->data; |
139 | /* G.cmd[tmp] = NULL; - G is already zeroed out */ | 139 | /* G.cmd[tmp] = NULL; - G is already zeroed out */ |
140 | if (!recursive_action(argv[argc - 1], | 140 | if (!recursive_action(argv[argc - 1], |
141 | TRUE, /* recurse */ | 141 | action_recurse|action_followLinks, |
142 | TRUE, /* follow links */ | ||
143 | FALSE, /* depth first */ | ||
144 | act, /* file action */ | 142 | act, /* file action */ |
145 | act, /* dir action */ | 143 | act, /* dir action */ |
146 | NULL, /* user data */ | 144 | NULL, /* user data */ |