fix to engrave usage of qrencode

This commit is contained in:
Jaromil 2013-09-18 02:19:04 +02:00
parent 40832cc01d
commit 0ca70509cf

2
tomb
View File

@ -932,7 +932,7 @@ engrave_key() {
awk ' awk '
/^-----/ {next} /^-----/ {next}
/^Version/ {next} /^Version/ {next}
{print $0}' ${tombkey} | qrencode --size 4 -t PNG --level H \ {print $0}' ${tombkey} | qrencode --size 4 --level H \
--casesensitive -o "$pngname" --casesensitive -o "$pngname"
{ test $? = 0 } || { die "QREncode reported an error." } { test $? = 0 } || { die "QREncode reported an error." }
yes "Operation successful:" yes "Operation successful:"