Add DEBUG environment variable for scripts.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Mar 2017 20:25:27 +0000 (21:25 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 21 Mar 2017 20:25:27 +0000 (21:25 +0100)
commitadd75303e918af5e94ff545d969872799fac5cef
treec4c26e8c642ee21ad4552631ead620de876cf3b9
parent5cbef906209eb5005f821af8f55a6f5d7e7d060c
Add DEBUG environment variable for scripts.

This contains the current debug level used by tinc. Scripts can use it
to decide whether to log debugging information of their own.

Closes #138 on GitHub.
src/script.c