exit non-zero if CLI install is missing input
This commit is contained in:
parent
22cf7914a6
commit
e58c071a14
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Reference in a new issue