diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2018-10-29 22:30:21 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2018-10-29 22:37:25 +0100 |
commit | 32c9657ed90563a7f2988496382818436d5e012e (patch) | |
tree | f983f0721ec6f3619082c79d1dde68ff363bcc45 | |
parent | 038a6c5790883275279ccf4fb158aee641d78ce1 (diff) |
[bug] revert setting of TMPDIR0.18.10
setting TMPDIR attempted to end the noisy error message about using TMP
producing non readable messages.
however, this produces invisible icons in bionic.
See https://0xacab.org/leap/riseup_vpn/issues/44
-rw-r--r-- | systray.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -48,7 +48,9 @@ type gatewayTray struct { } func run(bm bitmask.Bitmask, conf *systrayConfig, notify *notificator, as autostart) { - os.Setenv("TMPDIR", "/var/tmp") + // XXX this removes the snap error message, but produces an invisible icon. + // https://0xacab.org/leap/riseup_vpn/issues/44 + // os.Setenv("TMPDIR", "/var/tmp") bt := bmTray{bm: bm, conf: conf, notify: notify, autostart: as} systray.Run(bt.onReady, bt.onExit) } |