aboutsummaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/run_parts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index 7d41c6913..b41045a36 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -136,7 +136,7 @@ int run_parts_main(int argc, char **argv)
arg_list = llist_rev(arg_list); /* XXX: getopt32 appends them */
for (tmp = 1; arg_list; arg_list = arg_list->link, tmp++)
G.cmd[tmp] = arg_list->data;
- G.cmd[tmp] = NULL;
+ /* G.cmd[tmp] = NULL; - G is already zeroed out */
if (!recursive_action(argv[argc - 1],
TRUE, /* recurse */
TRUE, /* follow links */