From 020bd97a5a836742dc045928f33d9efd54958dfb Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 28 Nov 2024 16:25:01 +1030 Subject: [PATCH] startup_regtest: fix clnrest detection. The .py extension gets stripped from the plugin name, so it didn't work. Signed-off-by: Rusty Russell --- contrib/startup_regtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/startup_regtest.sh b/contrib/startup_regtest.sh index 6711fd7d5..31da51a0c 100755 --- a/contrib/startup_regtest.sh +++ b/contrib/startup_regtest.sh @@ -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"