diff options
| author | Christos Zoulas <christos@zoulas.com> | 2020-04-06 21:11:45 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-06 21:11:45 +0100 |
| commit | 67c277f1ebed48bd2e490e08514878e215c44be2 (patch) | |
| tree | 65594a5bab8df21fdd139af40b76081eab9e6bf2 /src/privsep-root.c | |
| parent | 5f42b70343bcae694748244e8aa0707aef690178 (diff) | |
| download | dhcpcd-67c277f1ebed48bd2e490e08514878e215c44be2.tar.xz | |
scripts: Run with an empty sigmask
An empty signal mask is probably more appropriate, since most
programs presume that the signal mask is empty when they start
even when they are using signals.
Diffstat (limited to 'src/privsep-root.c')
| -rw-r--r-- | src/privsep-root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep-root.c b/src/privsep-root.c index 0f099bb7..95a62f96 100644 --- a/src/privsep-root.c +++ b/src/privsep-root.c @@ -188,7 +188,7 @@ ps_root_run_script(struct dhcpcd_ctx *ctx, const void *data, size_t len) if (script_buftoenv(ctx, UNCONST(envbuf), len) == NULL) return -1; - pid = script_exec(ctx, argv, ctx->script_env); + pid = script_exec(argv, ctx->script_env); if (pid == -1) return -1; /* Wait for the script to finish */ |
