From 1cafc27959c83a13b1296fa3f5e269a3f302f5d5 Mon Sep 17 00:00:00 2001 From: Igor Velkov <325961+iav@users.noreply.github.com> Date: Mon, 2 Mar 2026 04:59:14 +0200 Subject: [PATCH] (#9400 P1a) lib/functions/host/prepare-host.sh: convert [ ] to [[ ]] Replace POSIX `[ ]` with bash `[[ ]]` on one string comparison. Co-Authored-By: Claude Sonnet 4.6 --- lib/functions/host/prepare-host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index 7b8e99308b..944398ef24 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -41,7 +41,7 @@ function prepare_host_noninteractive() { # The 'offline' variable must always be set to 'true' or 'false' declare offline=false - if [ "$OFFLINE_WORK" == "yes" ]; then + if [[ "$OFFLINE_WORK" == "yes" ]]; then offline=true fi