Skip to content

Commit

Permalink
Merge pull request #122 from RandyMcMillan/1657567454/eeb6d2a/d05556e…
Browse files Browse the repository at this point in the history
…-issue-112-continued

play-lnd: pass args $1 - $9 to container
  • Loading branch information
rsafier authored Jul 13, 2022
2 parents 4732445 + 9458b35 commit 60faa0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/play-lnd
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ do
docker exec $LND_ID sh -c "lncli -n signet walletbalance | jq -r .unconfirmed_balance"
exit

elif [[ ${!i} == *help ]]; then
elif [[ ${!i} == help ]]; then
((i++))
echo "play-lnd id"
echo "play-lnd top"
Expand All @@ -122,7 +122,7 @@ do

elif [[ -n ${!i} ]]; then
((i++))
docker exec $LND_ID sh -c "$1 $2 $3 $4"
docker exec $LND_ID sh -c "$1 $2 $3 $4 $5 $6 $7 $8 $9"
exit
fi

Expand Down

0 comments on commit 60faa0a

Please sign in to comment.