aboutsummaryrefslogtreecommitdiff
path: root/debianutils/run_parts.c
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils/run_parts.c')
-rw-r--r--debianutils/run_parts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c
index 98fd58887..53d33cec5 100644
--- a/debianutils/run_parts.c
+++ b/debianutils/run_parts.c
@@ -61,6 +61,8 @@ static const struct option runparts_long_options[] = {
61 { 0, 0, 0, 0 } 61 { 0, 0, 0, 0 }
62}; 62};
63 63
64extern char **environ;
65
64/* run_parts_main */ 66/* run_parts_main */
65/* Process options */ 67/* Process options */
66int run_parts_main(int argc, char **argv) 68int run_parts_main(int argc, char **argv)
@@ -108,5 +110,5 @@ int run_parts_main(int argc, char **argv)
108 args[0] = argv[optind]; 110 args[0] = argv[optind];
109 args[argcount] = 0; 111 args[argcount] = 0;
110 112
111 return(run_parts(args, test_mode)); 113 return(run_parts(args, test_mode, environ));
112} 114}