diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-01-04 02:16:50 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-01-04 02:16:50 +0100 |
| commit | 2a1c0b64bb9b8730a321ee1b50f303d3a8468825 (patch) | |
| tree | 65e518381a8d6457089e6ad7eb4a7bcc131eff27 /plugins/popen.c | |
| parent | 946d2f4b8fedfef30b8978d10823987cb6f88819 (diff) | |
| parent | 7dfddfbc88b1d78b9824a68feca19df87a3eb504 (diff) | |
| download | monitoring-plugins-2a1c0b64bb9b8730a321ee1b50f303d3a8468825.tar.gz | |
Merge branch 'master' into check_swap_again
Diffstat (limited to 'plugins/popen.c')
| -rw-r--r-- | plugins/popen.c | 2 |
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) |
