From 6c099ef51399cfc81a25434e92f60a8d809503cd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 17 Aug 2025 13:37:55 -0500 Subject: work around GO plugin load failures not being cleaned up --- init.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'init.go') diff --git a/init.go b/init.go index 80d9d42..716aefb 100644 --- a/init.go +++ b/init.go @@ -280,9 +280,9 @@ func New() *Node { // trapStdout() } */ - if argGui.GuiTest != "" { + if argGui.GuiPluginHack != "" { // does os.Exec() and does not return - TestPluginAndExit() + testPluginAndExit() } initNew() @@ -297,9 +297,9 @@ func NoGui() bool { func (n *Node) Default() *Node { var err error // used to check if plugins load or not - if argGui.GuiCheck != "" { + if argGui.GuiPluginHack != "" { // does os.Exec() and does not return - TestPluginAndExit() + testPluginAndExit() os.Exit(0) } -- cgit v1.2.3