treewide: use consistent bash script indentation

Always use two spaces.
This commit is contained in:
Erik Arvstedt
2021-08-15 11:28:35 +02:00
parent c758d68ea4
commit b8043d3db5
3 changed files with 18 additions and 18 deletions

View File

@@ -207,8 +207,8 @@ in {
(nbLib.script "lnd-create-wallet" ''
attempts=250
while ! { exec 3>/dev/tcp/${cfg.restAddress}/${toString cfg.restPort} && exec 3>&-; } &>/dev/null; do
((attempts-- == 0)) && { echo "lnd REST service unreachable"; exit 1; }
sleep 0.1
((attempts-- == 0)) && { echo "lnd REST service unreachable"; exit 1; }
sleep 0.1
done
if [[ ! -f ${networkDir}/wallet.db ]]; then