mercurial/commands.py
changeset 2571 83cfd95eafb5
parent 2567 2748253b49c2
child 2573 b13a98bd078e
--- a/mercurial/commands.py	Thu Jul 06 10:09:24 2006 -0700
+++ b/mercurial/commands.py	Thu Jul 06 11:45:34 2006 -0700
@@ -2649,7 +2649,7 @@
 
     if opts['pid_file']:
         fp = open(opts['pid_file'], 'w')
-        fp.write(str(os.getpid()))
+        fp.write(str(os.getpid()) + '\n')
         fp.close()
 
     if opts['daemon_pipefds']: