switched to '--set' instead of '-S' flags for better readbility
This commit is contained in:
parent
90e2c0992b
commit
aa3d6a2f77
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ for img in "$@"; do
|
|||
fi
|
||||
asc_key="${tmp_file}.${index}"
|
||||
echo "decoding ${img}"
|
||||
chunk=$( zbarimg --raw -Sdisable -Sqrcode.enable ${img} 2>/dev/null )
|
||||
chunk=$( zbarimg --raw --set disable --set qrcode.enable ${img} 2>/dev/null )
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed to decode QR image"
|
||||
exit 2
|
||||
|
|
Loading…
Reference in a new issue