summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
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)
}