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:
@@ -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")],
|
||||
|
||||
Reference in New Issue
Block a user