mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
startup_regtest: fix clnrest detection.
The .py extension gets stripped from the plugin name, so it didn't work. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
39fbced71e
commit
020bd97a5a
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue