Skip to content

Commit

Permalink
startup_regtest: fix clnrest detection.
Browse files Browse the repository at this point in the history
The .py extension gets stripped from the plugin name, so it didn't work.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Nov 28, 2024
1 parent 39fbced commit 020bd97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/startup_regtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ wait_for_lightningd() {

clnrest_status() {
logfile="$1"
active_str="plugin-clnrest.py: REST Server is starting"
disabled_str="plugin-clnrest.py: Killing plugin: disabled itself"
active_str="plugin-clnrest: REST Server is starting"
disabled_str="plugin-clnrest: Killing plugin: disabled itself"

if grep -q "$active_str" "$logfile"; then
echo "active"
Expand Down

0 comments on commit 020bd97

Please sign in to comment.