aboutsummaryrefslogtreecommitdiff
path: root/lib/utils_base.c
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2014-01-27 02:18:06 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2014-01-27 02:18:06 -0500
commit4a10a9493acaf1f12da12ef4881e2abacec1373a (patch)
tree40659d95a685525bff07250d9f81a38b64612915 /lib/utils_base.c
parent754cd092aea7d0f45f02c4fa695c827f7e81c5b2 (diff)
downloadmonitoring-plugins-4a10a9493acaf1f12da12ef4881e2abacec1373a.tar.gz
And release notes for previous change (MP_STATE_DIRECTORY)
The change has also been updated in https://www.monitoring-plugins.org/doc/state-retention.html
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r--lib/utils_base.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c
index 5c838d1d..fdd7d23c 100644
--- a/lib/utils_base.c
+++ b/lib/utils_base.c
@@ -420,7 +420,6 @@ char* _np_state_calculate_location_prefix(){
/* Do not allow passing MP_STATE_DIRECTORY in setuid plugins
* for security reasons */
if (mp_suid() == FALSE) {
- /* FIXME: Undocumented */
env_dir = getenv("MP_STATE_DIRECTORY");
if(env_dir && env_dir[0] != '\0')
return env_dir;