exit non-zero if CLI install is missing input

This commit is contained in:
Shish 2024-01-15 23:42:36 +00:00
parent 22cf7914a6
commit e58c071a14

View file

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