mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
Fix check_mysql.c client options from file
If you don't specify a group or a file to read data from the plugin tries to read from several files that don't exist and no groups.
This commit is contained in:
parent
97b0780376
commit
70314c62fc
1 changed files with 0 additions and 6 deletions
|
|
@ -476,12 +476,6 @@ validate_arguments (void)
|
|||
if (db_user == NULL)
|
||||
db_user = strdup("");
|
||||
|
||||
if (opt_file == NULL)
|
||||
opt_file = strdup("");
|
||||
|
||||
if (opt_group == NULL)
|
||||
opt_group = strdup("");
|
||||
|
||||
if (db_host == NULL)
|
||||
db_host = strdup("");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue