(#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 <noreply@anthropic.com>
This commit is contained in:
Igor Velkov 2026-03-02 04:59:14 +02:00 committed by Igor
parent f0201782a4
commit 1cafc27959

View File

@ -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