check_dbi: Hint the user about cause when dbi init fails.

This commit is contained in:
Sebastian Harl 2012-06-06 15:06:44 +02:00
parent 022ba7ea3a
commit ce75adf287

View file

@ -141,7 +141,7 @@ main (int argc, char **argv)
printf ("Initializing DBI\n");
if (dbi_initialize (NULL) < 0) {
printf ("UNKNOWN - failed to initialize DBI.\n");
printf ("UNKNOWN - failed to initialize DBI; possibly you don't have any drivers installed.\n");
return STATE_UNKNOWN;
}