From da761883608d20798c66a2e9243240bb6142b024 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 25 Feb 2013 05:26:45 +0100 Subject: Add public keys to shell environment --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shell.c') 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) { -- cgit v1.2.3