summaryrefslogtreecommitdiffstats
path: root/src/shell.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-02-25 05:26:45 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-02-25 05:26:45 +0100
commitda761883608d20798c66a2e9243240bb6142b024 (patch)
treeb7a5d3cf9c724a43761ee30373cb5e617a00f8cc /src/shell.c
parent0b6cc8b646d4824658e1534d4bbebe62d47b5695 (diff)
downloadfastd-da761883608d20798c66a2e9243240bb6142b024.tar
fastd-da761883608d20798c66a2e9243240bb6142b024.zip
Add public keys to shell environment
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c2
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) {