Skip to content

Commit d7702ac

Browse files
committed
fix sed
1 parent c435e3c commit d7702ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/lndbtc/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
echo "[entrypoint] Enabling $MODE mode"
1818
if [[ $MODE == "light" || $MODE == "neutrino" ]]; then
1919
sed -i "s/bitcoin.node.*/bitcoin.node=neutrino/g" "$LND_CONF"
20-
sed -i '/[routing]/,$d' "$LND_CONF"
20+
sed -i '/routing/,$d' "$LND_CONF"
2121
if [[ $NETWORK == "testnet" ]]; then
2222
cat <<EOF >> "$LND_CONF"
2323
[routing]

images/lndltc/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
echo "[entrypoint] Enabling $MODE mode"
1818
if [[ $MODE == "light" || $MODE == "neutrino" ]]; then
1919
sed -i "s/litecoin.node.*/litecoin.node=neutrino/g" "$LND_CONF"
20-
sed -i '/[routing]/,$d' "$LND_CONF"
20+
sed -i '/routing/,$d' "$LND_CONF"
2121
if [[ $NETWORK == "testnet" ]]; then
2222
cat <<EOF >> "$LND_CONF"
2323
[routing]

0 commit comments

Comments
 (0)