diff options
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r-- | plugins/check_pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 22a5b81..07abd9c 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
@@ -216,7 +216,7 @@ process_arguments (int argc, char **argv) | |||
216 | exit (STATE_OK); | 216 | exit (STATE_OK); |
217 | case 't': /* timeout period */ | 217 | case 't': /* timeout period */ |
218 | if (!is_integer (optarg)) | 218 | if (!is_integer (optarg)) |
219 | usage2 (_("Timeout Interval must be an integer"), optarg); | 219 | usage2 (_("Timeout interval must be a positive integer"), optarg); |
220 | else | 220 | else |
221 | timeout_interval = atoi (optarg); | 221 | timeout_interval = atoi (optarg); |
222 | break; | 222 | break; |
@@ -234,7 +234,7 @@ process_arguments (int argc, char **argv) | |||
234 | break; | 234 | break; |
235 | case 'H': /* host */ | 235 | case 'H': /* host */ |
236 | if (!is_host (optarg)) | 236 | if (!is_host (optarg)) |
237 | usage2 (_("You gave an invalid host name"), optarg); | 237 | usage2 (_("Invalid host name"), optarg); |
238 | else | 238 | else |
239 | pghost = optarg; | 239 | pghost = optarg; |
240 | break; | 240 | break; |