diff options
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c index c9dfab0..bcc22e1 100644 --- a/src/shell.c +++ b/src/shell.c @@ -100,6 +100,8 @@ bool fastd_shell_exec(fastd_context_t *ctx, const fastd_peer_t *peer, const char unsetenv("PEER_PORT"); } + ctx->conf->protocol->set_shell_env(ctx, peer); + result = system(command); if (ret) { |