mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
check_mysql: Label some booleans correctly
This commit is contained in:
parent
584cca3a96
commit
4f7ee05786
1 changed files with 4 additions and 4 deletions
|
|
@ -59,8 +59,8 @@ bool ssl = false;
|
|||
char *opt_file = NULL;
|
||||
char *opt_group = NULL;
|
||||
unsigned int db_port = MYSQL_PORT;
|
||||
int check_slave = 0;
|
||||
int ignore_auth = 0;
|
||||
bool check_slave = false;
|
||||
bool ignore_auth = false;
|
||||
int verbose = 0;
|
||||
|
||||
static double warning_time = 0;
|
||||
|
|
@ -456,10 +456,10 @@ process_arguments (int argc, char **argv)
|
|||
db_port = atoi (optarg);
|
||||
break;
|
||||
case 'S':
|
||||
check_slave = 1; /* check-slave */
|
||||
check_slave = true; /* check-slave */
|
||||
break;
|
||||
case 'n':
|
||||
ignore_auth = 1; /* ignore-auth */
|
||||
ignore_auth = true; /* ignore-auth */
|
||||
break;
|
||||
case 'w':
|
||||
warning = optarg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue