fix indentation of lnd.conf (#4020)

This commit is contained in:
openoms 2023-07-29 13:35:09 +02:00 committed by GitHub
parent 21d2593b90
commit ebfb13b55d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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