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