Put script environment creation/deletion in functions.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Mar 2017 20:21:23 +0000 (21:21 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Mar 2017 20:25:19 +0000 (21:25 +0100)
commit5cbef906209eb5005f821af8f55a6f5d7e7d060c
treea8c9ec8a747119be6978d251cafab83d001f094b
parent3e643d5d7e5c7db35eacb3703d497c584e93cf18
Put script environment creation/deletion in functions.

This makes environment handling safer, and also has a single place where
we can add new environment variables that should be present for all
scripts.
12 files changed:
src/graph.c
src/invitation.c
src/logger.c
src/logger.h
src/names.c
src/names.h
src/net_setup.c
src/protocol_auth.c
src/script.c
src/script.h
src/subnet.c
src/tincctl.c