summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-17 13:37:55 -0500
committerJeff Carr <[email protected]>2025-08-17 22:55:02 -0500
commit6c099ef51399cfc81a25434e92f60a8d809503cd (patch)
treecb247368aeb9832970fd2e46dd4a0f540a4ca5f4 /init.go
parente2783ce0699b0867209a8a024e7aa1f3d187b76f (diff)
work around GO plugin load failures not being cleaned up
Diffstat (limited to 'init.go')
-rw-r--r--init.go8
1 files changed, 4 insertions, 4 deletions
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)
}