summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-08 11:55:56 -0600
committerJeff Carr <[email protected]>2024-01-08 11:55:56 -0600
commit16fe0dacddbb3f425ec43174ccd7fb347e2e310d (patch)
tree9fa7fc19edd8ac7274f14bc4b9aa7b6cfbebec7d /main.go
parentb1c311a1e23f8b6557a289e85bb9f402b8523fdf (diff)
not sure
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/main.go b/main.go
index f1801b2..485c63a 100644
--- a/main.go
+++ b/main.go
@@ -35,10 +35,14 @@ func main() {
me.ipv4s = make(map[string]dns.RR)
me.ipv6s = make(map[string]dns.RR)
- // send all log() output to a file in /tmp
- log.SetTmp()
+ if args.TmpLog {
+ // send all log() output to a file in /tmp
+ log.SetTmp()
+ }
- me.myGui = gui.New().Default()
+ me.myGui = gui.New()
+ me.myGui.InitEmbed(resToolkit)
+ me.myGui.Default()
log.Sleep(me.artificialSleep)
setupControlPanelWindow()