mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-21 22:29:49 -04:00
Add mysql_close to avoid spamming the server logs
This commit is contained in:
parent
3929c5ac37
commit
c405dbafcc
1 changed files with 1 additions and 0 deletions
|
|
@ -294,6 +294,7 @@ main (int argc, char **argv)
|
|||
/* free the result */
|
||||
mysql_free_result (res_mysqldump);
|
||||
}
|
||||
mysql_close (&mysql);
|
||||
}
|
||||
if (mysqldump_threads == 0) {
|
||||
die (STATE_CRITICAL, "%s\n", slaveresult);
|
||||
|
|
|
|||
Loading…
Reference in a new issue