mirror of
https://github.com/gryf/wicd.git
synced 2026-04-07 05:23:37 +02:00
Initialize child_pid, thanks to David Cantrell
This commit is contained in:
@@ -1807,6 +1807,7 @@ def main(argv):
|
|||||||
bus = dbus.SystemBus()
|
bus = dbus.SystemBus()
|
||||||
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
|
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
|
||||||
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
|
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
|
||||||
|
child_pid = None
|
||||||
if not no_poll:
|
if not no_poll:
|
||||||
child_pid = Popen([wpath.python, "-O",
|
child_pid = Popen([wpath.python, "-O",
|
||||||
os.path.join(wpath.daemon, "monitor.py")],
|
os.path.join(wpath.daemon, "monitor.py")],
|
||||||
|
|||||||
Reference in New Issue
Block a user