summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-07-02 16:55:19 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-07-02 16:55:19 (GMT)
commitcf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852 (patch)
tree3739ed79238c65567ad1001a4f80856af652f660 /plugins-scripts
parent6b6051606175d870bb45bbe67866c1643d4d964a (diff)
downloadmonitoring-plugins-cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852.tar.gz
Fix cmd_run overwriting the environment
Some commands need the environment to function properly. One such example is check_ssh and check_by_ssh when a SOCKS proxy is required. This patch use setenv and extern char **environ to alter and pass the new environment to the child process Those modules have been added to Gnulib for portability.
Diffstat (limited to 'plugins-scripts')
0 files changed, 0 insertions, 0 deletions