(#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:
parent
f0201782a4
commit
1cafc27959
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user