exit non-zero if CLI install is missing input

This commit is contained in:
Shish 2024-01-15 23:42:53 +00:00
parent c9fd0028f9
commit 1214f8bf62

View file

@ -43,6 +43,7 @@ function install()
} else {
if (PHP_SAPI == 'cli') {
print("INSTALL_DSN needs to be set for CLI installation\n");
exit(1);
} else {
ask_questions();
}