aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index a9f0f600..d82dea14 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -362,7 +362,7 @@ validate_arguments (void)
db_host = strdup("");
if (db_pass == NULL)
- db_pass == strdup("");
+ db_pass = strdup("");
if (db == NULL)
db = strdup("");