(#9400 P1a) lib/functions/image/fingerprint.sh: convert [ ] to [[ ]]

Replace POSIX `[ ]` with bash `[[ ]]` on one -n test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Igor Velkov 2026-03-02 05:03:55 +02:00 committed by Igor
parent b9bf4489a8
commit 3e4de6c02b

View File

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