Update lnd.autounlock.sh

This commit is contained in:
frennkie 2020-08-02 15:50:50 +02:00 committed by GitHub
parent a03f30a52d
commit db5d7deaf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ Password C will be stored on the device.
sleep 4
error=""
source <(sudo /home/admin/config.scripts/lnd.unlock.sh "$passwordC")
if [ ! "${error}" = "" ];then
if [ "${error}" != "" ];then
echo "# PASSWORD C is wrong - try again or cancel"
sleep 3
sudo /home/admin/config.scripts/lnd.autounlock.sh on