mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Configure dbus interface even if some env variables aren't available
Fixes app uniqueness on KDE.
This commit is contained in:
parent
ceeef985c4
commit
19d7df4e47
@ -378,10 +378,7 @@ def main():
|
||||
|
||||
engine = vmmEngine()
|
||||
|
||||
if (not (options.nodbus) and
|
||||
not ((os.getenv("DBUS_SESSION_BUS_ADDRESS") is None) and
|
||||
(os.getenv("DBUS_STARTER_ADDRESS") is None))):
|
||||
|
||||
if not options.nodbus:
|
||||
try:
|
||||
managerObj = dbus_config(engine)
|
||||
if managerObj:
|
||||
|
Loading…
Reference in New Issue
Block a user