diff --git a/sched/start b/sched/start index 23d09f54ea..c178c8c8f8 100755 --- a/sched/start +++ b/sched/start @@ -213,10 +213,10 @@ def double_fork(): # Do second fork. try: pid = os.fork() - if pid > 0: sys._exit(0) # Exit second parent. + if pid > 0: os._exit(0) # Exit second parent. except OSError, e: sys.stderr.write("fork #2 failed: (%d) %s\n" % (e.errno, e.strerror)) - sys._exit(1) + os._exit(1) return 0 def write_pid_file(pidfile):