allow spaces

This commit is contained in:
Christian Rotzoll 2019-05-01 01:01:39 +02:00
parent 1094baa1d1
commit 97d4f59df9

View File

@ -276,7 +276,7 @@ or having a complete LND rescue-backup from your old node.
do
# dialog to enter
dialog --backtitle "RaspiBlitz - LND Recover" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/home/admin/.seed.tmp
wordstring=$( cat /home/admin/.seed.tmp | sed 's/[^a-zA-Z0-9,]//g' )
wordstring=$( cat /home/admin/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g' )
shred /home/admin/.seed.tmp
echo "processing ... ${wordstring}"