summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 689648eb..05d2b019 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -5,7 +5,7 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) 6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)
7* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) 7* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net)
8* Copyright (c) 1999-2007 Nagios Plugins Development Team 8* Copyright (c) 1999-2009 Nagios Plugins Development Team
9* 9*
10* Description: 10* Description:
11* 11*
@@ -358,9 +358,6 @@ validate_arguments (void)
358 if (db_host == NULL) 358 if (db_host == NULL)
359 db_host = strdup(""); 359 db_host = strdup("");
360 360
361 if (db_pass == NULL)
362 db_pass = strdup("");
363
364 if (db == NULL) 361 if (db == NULL)
365 db = strdup(""); 362 db = strdup("");
366 363
@@ -417,6 +414,9 @@ print_help (void)
417 printf ("\n"); 414 printf ("\n");
418 printf ("%s\n", _("Notes:")); 415 printf ("%s\n", _("Notes:"));
419 printf (_(UT_EXTRA_OPTS_NOTES)); 416 printf (_(UT_EXTRA_OPTS_NOTES));
417 printf ("\n");
418 printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
419 printf (" %s\n", _("overriding any my.cnf settings."));
420#endif 420#endif
421 421
422 printf (_(UT_SUPPORT)); 422 printf (_(UT_SUPPORT));