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 {
|
} else {
|
||||||
if (PHP_SAPI == 'cli') {
|
if (PHP_SAPI == 'cli') {
|
||||||
print("INSTALL_DSN needs to be set for CLI installation\n");
|
print("INSTALL_DSN needs to be set for CLI installation\n");
|
||||||
|
exit(1);
|
||||||
} else {
|
} else {
|
||||||
ask_questions();
|
ask_questions();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue