delete old data dir

This commit is contained in:
rootzoll
2018-12-05 01:14:48 +01:00
parent ba5d7e1d16
commit a94a81b6d8

View File

@@ -58,6 +58,7 @@ if [ "${chain}" != "${choice}" ]; then
tryAgain=1
while [ ${tryAgain} -eq 1 ]
do
sudo rm -r /home/bitcoin/.lnd/data/chain/${network}/${choice}net/ 2>/dev/null
echo "****************************************************************************"
echo "Creating a new LND Wallet for ${network}/${choice}net"
echo "****************************************************************************"