From e58c071a140bbb8cd34346e3edbfc808ab156553 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 15 Jan 2024 23:42:36 +0000 Subject: [PATCH] exit non-zero if CLI install is missing input --- core/install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/install.php b/core/install.php index 5f8deff8..4ba4e666 100644 --- a/core/install.php +++ b/core/install.php @@ -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(); }