diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-28 19:17:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-07-28 19:17:46 +0200 |
commit | 67088216abd866cc28dc438af1e89ca9de60c48d (patch) | |
tree | 17705ecdbf22cc15d7c7b03a9e4ae1e896396b83 /plugins/check_by_ssh.c | |
parent | de5503063e4ea455a7a0a57afcc467a2041c859f (diff) | |
parent | 5a2400cc2a9e76787320632ea402f6d8378d5124 (diff) | |
download | monitoring-plugins-67088216abd866cc28dc438af1e89ca9de60c48d.tar.gz |
Merge branch 'master' into feature_check_curl
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index 13d8bc3b..485bf3be 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -230,7 +230,6 @@ process_arguments (int argc, char **argv) | |||
230 | timeout_interval = atoi (optarg); | 230 | timeout_interval = atoi (optarg); |
231 | break; | 231 | break; |
232 | case 'H': /* host */ | 232 | case 'H': /* host */ |
233 | host_or_die(optarg); | ||
234 | hostname = optarg; | 233 | hostname = optarg; |
235 | break; | 234 | break; |
236 | case 'p': /* port number */ | 235 | case 'p': /* port number */ |
@@ -329,7 +328,6 @@ process_arguments (int argc, char **argv) | |||
329 | if (c <= argc) { | 328 | if (c <= argc) { |
330 | die (STATE_UNKNOWN, _("%s: You must provide a host name\n"), progname); | 329 | die (STATE_UNKNOWN, _("%s: You must provide a host name\n"), progname); |
331 | } | 330 | } |
332 | host_or_die(argv[c]); | ||
333 | hostname = argv[c++]; | 331 | hostname = argv[c++]; |
334 | } | 332 | } |
335 | 333 | ||