Skip to content

Commit d19addb

Browse files
committed
indentation fix; update DEBUG wording;
1 parent a9647ad commit d19addb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

initrd/bin/oem-factory-reset

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,13 @@ usb_security_token_capabilities_check()
385385
enable_usb
386386
# ... first set board config preference
387387
if [ -n "$CONFIG_GPG_ALGO" ]; then
388-
GPG_ALGO=$CONFIG_GPG_ALGO
389-
DEBUG "Setting \$GPG_ALGO to (board-)configured: $CONFIG_GPG_ALGO"
388+
GPG_ALGO=$CONFIG_GPG_ALGO
389+
DEBUG "Setting GPG_ALGO to (board-)configured: $CONFIG_GPG_ALGO"
390390
fi
391391
# ... overwrite with usb-token capability
392392
if lsusb | grep -q "20a0:42b2"; then
393-
GPG_ALGO="p256"
394-
DEBUG "Nitrokey 3 detected: Setting \$GPG_ALGO to: $GPG_ALGO"
393+
GPG_ALGO="p256"
394+
DEBUG "Nitrokey 3 detected: Setting GPG_ALGO to: $GPG_ALGO"
395395
fi
396396
}
397397

0 commit comments

Comments
 (0)