more verbose

This commit is contained in:
Leah Thein 2020-12-05 13:06:43 +01:00
parent 105867be58
commit 5520fbf0c4

View file

@ -67,7 +67,8 @@ proc main() =
if getEnv("PID_FILE") != "": if getEnv("PID_FILE") != "":
try: try:
writeFile(getEnv("PID_FILE"), $getpid()) writeFile(getEnv("PID_FILE"), $getpid() & "\n")
echo "pid-file \"" & getEnv("PID_FILE") & "\" crated"
except: except:
echo "Can't write pid file!" echo "Can't write pid file!"
quit(1) quit(1)