summaryrefslogtreecommitdiffstats
path: root/plugins/popen.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-12-30 19:39:31 (GMT)
committerGitHub <noreply@github.com>2023-12-30 19:39:31 (GMT)
commit7dfddfbc88b1d78b9824a68feca19df87a3eb504 (patch)
tree6a79e50b310b3fa6f1a74797a0c6b9516046e552 /plugins/popen.c
parentbad156676894a2755c8b76519a11cdd2037e5cd6 (diff)
parent8fe3fc78299dbd5fc3612853a502a99fbaf35451 (diff)
downloadmonitoring-plugins-7dfddfbc88b1d78b9824a68feca19df87a3eb504.tar.gz
Merge pull request #1980 from RincewindsHat/compiler_warning_part_7
Compiler warning part 7
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 036bc60..54e63bc 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)