diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 3e25910d..fe8681e2 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
| @@ -148,7 +148,7 @@ process_arguments_wrapper process_arguments(int argc, char **argv) { | |||
| 148 | verbose = true; | 148 | verbose = true; |
| 149 | break; | 149 | break; |
| 150 | case 't': /* timeout period */ | 150 | case 't': /* timeout period */ |
| 151 | if (!is_integer(optarg)) { | 151 | if (!is_intpos(optarg)) { |
| 152 | usage2(_("Timeout interval must be a positive integer"), optarg); | 152 | usage2(_("Timeout interval must be a positive integer"), optarg); |
| 153 | } else { | 153 | } else { |
| 154 | socket_timeout = atoi(optarg); | 154 | socket_timeout = atoi(optarg); |
