summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 71e652e..dd7328e 100644
--- a/main.go
+++ b/main.go
@@ -11,6 +11,7 @@ import (
"git.thomasvoss.com/euro-cash.eu/src"
"git.thomasvoss.com/euro-cash.eu/src/dbx"
+ "git.thomasvoss.com/euro-cash.eu/src/atexit"
"git.thomasvoss.com/euro-cash.eu/src/email"
. "git.thomasvoss.com/euro-cash.eu/src/try"
"git.thomasvoss.com/euro-cash.eu/src/watch"
@@ -40,6 +41,7 @@ func main() {
if *debugp {
path := Try2(os.Executable())
go watch.File(path, func() {
+ atexit.Exec()
Try(syscall.Exec(path, os.Args, os.Environ()))
})
}