diff options
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/run_parts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index 98fd588..53d33ce 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c @@ -61,6 +61,8 @@ static const struct option runparts_long_options[] = { { 0, 0, 0, 0 } }; +extern char **environ; + /* run_parts_main */ /* Process options */ int run_parts_main(int argc, char **argv) @@ -108,5 +110,5 @@ int run_parts_main(int argc, char **argv) args[0] = argv[optind]; args[argcount] = 0; - return(run_parts(args, test_mode)); + return(run_parts(args, test_mode, environ)); } |