summaryrefslogtreecommitdiffstats
path: root/plugins/popen.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-12-28 23:45:14 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-12-28 23:45:14 (GMT)
commitc1c9abbfcafe8e55d86dfe13aed6874ad194d761 (patch)
treeedace8eb0bc721c6f331d4fe4c8356b8094ac4a9 /plugins/popen.c
parentbad156676894a2755c8b76519a11cdd2037e5cd6 (diff)
downloadmonitoring-plugins-c1c9abbfcafe8e55d86dfe13aed6874ad194d761.tar.gz
Change iritating NULL assignment
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)