commit ccc995b435d4c6f903215427cdc5ea0bb6afff9e
parent 8c4ccfe8dad722d79abed1f66d0215e6a450d20e
Author: Leah Thein <leah@toaster.fritz.box>
Date: Sat, 5 Dec 2020 10:34:39 +0100
parent 8c4ccfe8dad722d79abed1f66d0215e6a450d20e
Author: Leah Thein <leah@toaster.fritz.box>
Date: Sat, 5 Dec 2020 10:34:39 +0100
pidfile with newline
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/oeffi_nojs.nim b/src/oeffi_nojs.nim @@ -45,7 +45,7 @@ proc main = # for gcsafe if getEnv("PID_FILE") != "": try: - writeFile(getEnv("PID_FILE"), $getpid()) + writeFile(getEnv("PID_FILE"), $getpid() & "\n") except: echo "Can't write pid file!" quit(1)