diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-07-02 16:55:19 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-07-02 16:55:19 (GMT) |
commit | cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852 (patch) | |
tree | 3739ed79238c65567ad1001a4f80856af652f660 /plugins-scripts/check_wave.pl | |
parent | 6b6051606175d870bb45bbe67866c1643d4d964a (diff) | |
download | monitoring-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/check_wave.pl')
0 files changed, 0 insertions, 0 deletions