mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-20 21:57:10 -04:00
check_dbi: Hint the user about cause when dbi init fails.
This commit is contained in:
parent
022ba7ea3a
commit
ce75adf287
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue