summaryrefslogtreecommitdiffstats
path: root/plugins/check_fping.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-07-02 12:55:19 -0400
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-07-02 12:55:19 -0400
commitcf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852 (patch)
tree3739ed79238c65567ad1001a4f80856af652f660 /plugins/check_fping.c
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/check_fping.c')
0 files changed, 0 insertions, 0 deletions