Update lnd.autounlock.sh

This commit is contained in:
frennkie
2020-08-02 15:48:33 +02:00
committed by GitHub
parent 78a5e9107d
commit a03f30a52d

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} -gt 0 ];then
if [ ! "${error}" = "" ];then
echo "# PASSWORD C is wrong - try again or cancel"
sleep 3
sudo /home/admin/config.scripts/lnd.autounlock.sh on