summaryrefslogtreecommitdiff
path: root/systemd-timesyncd-wrap.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-19 05:27:49 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-19 05:27:49 -0500
commit4971b41aafa0d7a231c24a3e43ecd5cfd81c7758 (patch)
tree83e812cba21f19839b3d61755f8737e56d70cbed /systemd-timesyncd-wrap.go
parent1e4db61fd42019dcf98cc08ca747f0692ec88ba2 (diff)
Fix remaining issues.
Diffstat (limited to 'systemd-timesyncd-wrap.go')
-rw-r--r--systemd-timesyncd-wrap.go1
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)