#1081 test exit to console

This commit is contained in:
rootzoll
2020-03-29 22:04:33 +02:00
parent 62129b6a6c
commit 9b260c43a8
2 changed files with 4 additions and 1 deletions

View File

@@ -225,6 +225,9 @@ case $CHOICE in
;;
REPAIR)
/home/admin/98repairMenu.sh
if [ $? -eq 99 ]; then
exit 1
fi
;;
PASSWORD)
sudo /home/admin/config.scripts/blitz.setpassword.sh

View File

@@ -57,7 +57,7 @@ copyHost()
echo "- Your RaspiBlitz has now stopped LND and ${network}"
echo "- Run now the script given by the other RaspiBlitz in Terminal"
echo "- When you are done - Restart RaspiBlitz: sudo shutdown -r now"
exit 1
exit 99
}
# Basic Options