diff options
| author | Jeff Carr <[email protected]> | 2025-08-17 13:37:55 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-17 22:55:02 -0500 |
| commit | 6c099ef51399cfc81a25434e92f60a8d809503cd (patch) | |
| tree | cb247368aeb9832970fd2e46dd4a0f540a4ca5f4 /init.go | |
| parent | e2783ce0699b0867209a8a024e7aa1f3d187b76f (diff) | |
work around GO plugin load failures not being cleaned up
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) } |
