diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-19 05:27:49 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-19 05:27:49 -0500 |
commit | 4971b41aafa0d7a231c24a3e43ecd5cfd81c7758 (patch) | |
tree | 83e812cba21f19839b3d61755f8737e56d70cbed /systemd-timesyncd-wrap.go | |
parent | 1e4db61fd42019dcf98cc08ca747f0692ec88ba2 (diff) |
Fix remaining issues.
Diffstat (limited to 'systemd-timesyncd-wrap.go')
-rw-r--r-- | systemd-timesyncd-wrap.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd-timesyncd-wrap.go b/systemd-timesyncd-wrap.go index 76914a4..9bf5782 100644 --- a/systemd-timesyncd-wrap.go +++ b/systemd-timesyncd-wrap.go @@ -56,6 +56,7 @@ func main() { os.Chown(fake_sockname, uid, gid) os.Setenv("NOTIFY_SOCKET", fake_sockname) + os.Unsetenv("WATCHDOG_PID") proc, err := os.StartProcess(os.Args[1], os.Args[1:], &os.ProcAttr{Files: []*os.File{os.Stdin, os.Stdout, os.Stderr}}) if err != nil { fmt.Fprintln(os.Stderr, err) |