Skip to content
Snippets Groups Projects
Commit 21622f09 authored by Andre Moreira Magalhaes's avatar Andre Moreira Magalhaes Committed by Walter Lozano
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 7f9912d1
No related branches found
No related tags found
No related merge requests found
Pipeline #307093 canceled
......@@ -326,7 +326,7 @@ is_supported_keyring() {
if [ "$FILEEXT" = 'gpg' ]; then
# 0x98, 0x99 and 0xC6 via octal as hex isn't supported by dashs printf
local BYTE_TMP_FILE=$(mktemp)
head -c 1 "$1" > $BYTE_TMP_FILE
head -c 1 "$1" > "$BYTE_TMP_FILE"
if printf '\231' | cmp -s - "$BYTE_TMP_FILE"; then
true
elif printf '\230' | cmp -s - "$BYTE_TMP_FILE"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment