fix syntax

This commit is contained in:
rootzoll
2021-07-17 17:15:18 +02:00
parent 53428fb2fe
commit b918dd6cfa

View File

@@ -143,7 +143,7 @@ if [ "${lightning}" != "lnd" ]; then
echo "Remove LND" >> ${logFile}
sudo sed -i "s/^message=.*/message='Deactivate Lightning'/g" ${infoFile}
sudo systemctl disable lnd
sudo rm /etc/systemd/system/lnd.service
sudo rm /etc/systemd/system/lnd.service 2>/dev/null
sudo systemctl daemon-reload
fi