Ensure no carriage return in qr code
This commit is contained in:
parent
1d441d393d
commit
249d56eb24
|
@ -98,7 +98,7 @@ function syncthing_show_id {
|
|||
clear
|
||||
echo $'Your Syncthing ID code'
|
||||
echo ''
|
||||
echo "$SYNCTHING_ID" | qrencode -t UTF8
|
||||
echo -n "$SYNCTHING_ID" | qrencode -t UTF8
|
||||
echo ''
|
||||
read -n1 -rsp $"Press any key to continue..." key
|
||||
}
|
||||
|
|
|
@ -1312,7 +1312,7 @@ function show_tripwire_verification_code {
|
|||
echo $'Tripwire Verification Code'
|
||||
echo ''
|
||||
DBHASH=$(sha512sum /var/lib/tripwire/${HOSTNAME}.twd)
|
||||
echo "$DBHASH" | qrencode -t UTF8
|
||||
echo -n "$DBHASH" | qrencode -t UTF8
|
||||
echo ''
|
||||
echo "$DBHASH"
|
||||
echo ''
|
||||
|
|
Loading…
Reference in New Issue