From ebfb13b55dd805455542b60716c4edf3da2b024f Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Sat, 29 Jul 2023 13:35:09 +0200 Subject: [PATCH] fix indentation of lnd.conf (#4020) --- home.admin/config.scripts/lnd.check.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/config.scripts/lnd.check.sh b/home.admin/config.scripts/lnd.check.sh index cf248b7d..d83011f8 100755 --- a/home.admin/config.scripts/lnd.check.sh +++ b/home.admin/config.scripts/lnd.check.sh @@ -315,8 +315,8 @@ if [ "$1" == "prestart" ]; then if [ "${sectionExists}" == "0" ]; then echo "# adding section [${sectionName}]" echo " - [${sectionName}] - " | tee -a ${lndConfFile} +[${sectionName}] +" | tee -a ${lndConfFile} fi # get line number of [rpcmiddleware] section @@ -329,7 +329,7 @@ if [ "$1" == "prestart" ]; then if [ ${fileLines} -lt ${insertLine} ]; then echo "# adding new line for inserts" echo " - " | tee -a ${lndConfFile} +" | tee -a ${lndConfFile} fi # SET/UPDATE rpcmiddleware.enable