From 3e4de6c02b587e43395728a4b658ea4abffcace4 Mon Sep 17 00:00:00 2001 From: Igor Velkov <325961+iav@users.noreply.github.com> Date: Mon, 2 Mar 2026 05:03:55 +0200 Subject: [PATCH] (#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]] Replace POSIX `[ ]` with bash `[[ ]]` on one -n test. Co-Authored-By: Claude Sonnet 4.6 --- lib/functions/image/fingerprint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/fingerprint.sh b/lib/functions/image/fingerprint.sh index cae89921fe..418af0fd98 100644 --- a/lib/functions/image/fingerprint.sh +++ b/lib/functions/image/fingerprint.sh @@ -28,7 +28,7 @@ function fingerprint_image() { Support: ${VENDORSUPPORT} EOF - if [ -n "$2" ]; then + if [[ -n "$2" ]]; then cat <<- EOF >> "${1}" --------------------------------------------------------------------------- Partitioning configuration: $IMAGE_PARTITION_TABLE offset: $OFFSET