1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-09 15:24:14 +01:00

Initialize child_pid, thanks to David Cantrell

This commit is contained in:
David Paleino
2012-03-26 22:26:21 +02:00
parent b65a37aeff
commit 466d9c4283

View File

@@ -1807,6 +1807,7 @@ def main(argv):
bus = dbus.SystemBus()
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
child_pid = None
if not no_poll:
child_pid = Popen([wpath.python, "-O",
os.path.join(wpath.daemon, "monitor.py")],