blob: 0bdc23957476ff9ffba80c2d5a4655f2bd118b12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- lib/python/zdaemon/zdctl.py.orig Fri Oct 24 23:32:59 2003
+++ lib/python/zdaemon/zdctl.py Fri Apr 2 01:55:59 2004
@@ -208,9 +208,9 @@
args += self._get_override("-z", "directory")
args.extend(self.options.program)
if self.options.daemon:
- flag = os.P_WAIT
- else:
flag = os.P_NOWAIT
+ else:
+ flag = os.P_WAIT
os.spawnvp(flag, args[0], args)
elif not self.zd_pid:
self.send_action("start")
|