Skip to content

Commit 020bd97

Browse files
committed
startup_regtest: fix clnrest detection.
The .py extension gets stripped from the plugin name, so it didn't work. Signed-off-by: Rusty Russell <[email protected]>
1 parent 39fbced commit 020bd97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/startup_regtest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ wait_for_lightningd() {
145145

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

151151
if grep -q "$active_str" "$logfile"; then
152152
echo "active"

0 commit comments

Comments
 (0)