summaryrefslogtreecommitdiffstats
path: root/plugins/popen.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-01-04 02:16:50 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-01-04 02:16:50 +0100
commit2a1c0b64bb9b8730a321ee1b50f303d3a8468825 (patch)
tree65e518381a8d6457089e6ad7eb4a7bcc131eff27 /plugins/popen.c
parent946d2f4b8fedfef30b8978d10823987cb6f88819 (diff)
parent7dfddfbc88b1d78b9824a68feca19df87a3eb504 (diff)
downloadmonitoring-plugins-2a1c0b64bb9b8730a321ee1b50f303d3a8468825.tar.gz
Merge branch 'master' into check_swap_again
Diffstat (limited to 'plugins/popen.c')
-rw-r--r--plugins/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/popen.c b/plugins/popen.c
index 036bc608..54e63bc5 100644
--- a/plugins/popen.c
+++ b/plugins/popen.c
@@ -105,7 +105,7 @@ spopen (const char *cmdstring)
105#endif 105#endif
106 106
107 env[0] = strdup("LC_ALL=C"); 107 env[0] = strdup("LC_ALL=C");
108 env[1] = '\0'; 108 env[1] = NULL;
109 109
110 /* if no command was passed, return with no error */ 110 /* if no command was passed, return with no error */
111 if (cmdstring == NULL) 111 if (cmdstring == NULL)