mirror of
https://github.com/gryf/wicd.git
synced 2026-01-01 19:42:30 +01:00
Handle wicd-daemon not running when client starts, thanks to David Cantrell
This commit is contained in:
@@ -1018,6 +1018,10 @@ def setup_dbus(force=True):
|
||||
wireless = dbus_ifaces['wireless']
|
||||
wired = dbus_ifaces['wired']
|
||||
|
||||
if not daemon:
|
||||
print 'Error connecting to wicd via D-Bus. Please make sure the wicd service is running.'
|
||||
sys.exit(3)
|
||||
|
||||
netentry_curses.dbus_init(dbus_ifaces)
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user