From e3db3be09501c40890d706cadff0951b9ee2963a Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Thu, 8 Jan 2026 10:32:14 +0700 Subject: [PATCH] Fix: Escape \ bash variable in CaInstallerService to prevent PHP interpolation crash --- app/Services/CaInstallerService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Services/CaInstallerService.php b/app/Services/CaInstallerService.php index 221b35f..6de6443 100644 --- a/app/Services/CaInstallerService.php +++ b/app/Services/CaInstallerService.php @@ -254,17 +254,17 @@ class CaInstallerService "\n" . "msg_info() {\n" . " local msg=\"$1\"\n" . - " echo -ne \" \${BL}[ INFO ]\${CL} ${msg}...\"\n" . + " echo -ne \" \${BL}[ INFO ]\${CL} \${msg}...\"\n" . "}\n" . "\n" . "msg_ok() {\n" . " local msg=\"$1\"\n" . - " echo -e \"\${BFR} \${GN}[ OK ]\${CL} ${msg}\"\n" . + " echo -e \"\${BFR} \${GN}[ OK ]\${CL} \${msg}\"\n" . "}\n" . "\n" . "msg_err() {\n" . " local msg=\"$1\"\n" . - " echo -e \"\${BFR} \${RD}[ FAIL ]\${CL} ${msg}\"\n" . + " echo -e \"\${BFR} \${RD}[ FAIL ]\${CL} \${msg}\"\n" . "}\n" . "\n" . "check_root() {\n" .