From a683ce685af32ba8384b855d6c4dc8367d817473 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 22 Aug 2023 02:48:48 +0300 Subject: [PATCH] Add logging for host default domain SSL request --- virtualmin-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index 0171d4d..fb4f33f 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -1293,6 +1293,11 @@ if [ "$mode" = "minimal" ]; then bundle="Mini${bundle}" fi virtualmin-config-system --bundle "$bundle"$virtualmin_config_system_excludes +# Log SSL request status, if available +if [ -f "$tempdir/virtualmin_ssl_host_status" ]; then + virtualmin_ssl_host_status=$(cat "$tempdir/virtualmin_ssl_host_status") + log_debug "$virtualmin_ssl_host_status" +fi if [ "$?" != "0" ]; then errorlist="${errorlist} ${YELLOW}◉${NORMAL} Postinstall configuration returned an error.\\n" errors=$((errors + 1))