#2099 small fix on delete macarons

This commit is contained in:
rootzoll 2021-04-18 19:12:35 +02:00
parent 745f9b0c7c
commit a82c15fe88

View file

@ -79,7 +79,7 @@ if [ "$1" = "reset" ]; then
cd || exit
sudo find /mnt/hdd/app-data/lnd/data/chain/"${network}"/"${chain}"net/ -iname '*.macaroon' -delete
sudo find /home/bitcoin/.lnd/data/chain/"${network}"/"${chain}"net/ -iname '*.macaroon' -delete
if [ ${keepOldMacaroons} -eq 0 ]; then
if [ "${keepOldMacaroons}" != "1" ]; then
sudo rm /home/bitcoin/.lnd/data/chain/"${network}"/"${chain}"net/macaroons.db
fi
fi