diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-21 09:22:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 09:22:33 +0200 |
commit | d5d0b50e89ee600b6a605344aad004c60b88994d (patch) | |
tree | 1ef0975b2a059daa7b8552aaf6371b3320ef477b /lib/utils_cmd.c | |
parent | ab493d5515bd6dd8f844eb673b783479074263f8 (diff) | |
parent | 220455a11e8f1dd3a86ac4725cf0c799c8e3b21b (diff) | |
download | monitoring-plugins-d5d0b50e89ee600b6a605344aad004c60b88994d.tar.gz |
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to 'lib/utils_cmd.c')
-rw-r--r-- | lib/utils_cmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c index 8b8e5708..34fb3909 100644 --- a/lib/utils_cmd.c +++ b/lib/utils_cmd.c | |||
@@ -118,10 +118,6 @@ _cmd_open (char *const *argv, int *pfd, int *pfderr) | |||
118 | 118 | ||
119 | int i = 0; | 119 | int i = 0; |
120 | 120 | ||
121 | /* if no command was passed, return with no error */ | ||
122 | if (argv == NULL) | ||
123 | return -1; | ||
124 | |||
125 | if (!_cmd_pids) | 121 | if (!_cmd_pids) |
126 | CMD_INIT; | 122 | CMD_INIT; |
127 | 123 | ||