validate.php proper exit code (#16274)

some fixes around database & poller checks
This commit is contained in:
Tony Murray
2024-08-08 20:00:56 -05:00
committed by GitHub
parent b62a4bacd4
commit f296464dae
9 changed files with 39 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ if (! module_selected('nodb', $init_modules)) {
echo "Check the install docs for more info: https://docs.librenms.org/Installation/\n";
}
exit;
exit(1);
}
}
\LibreNMS\DB\Eloquent::setStrictMode(false); // disable strict mode for legacy code...