virt-manager: don't autostart other connection if --show-* was specified
Broken by commit a9bc56add3
.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1377244
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
b4239b7538
commit
ceda7a5dbf
|
@ -263,6 +263,9 @@ def main():
|
|||
if show_window and options.uri is None:
|
||||
raise RuntimeError("can't use --show-* options without --connect")
|
||||
|
||||
if show_window:
|
||||
options.skip_autostart = True
|
||||
|
||||
# Hook libvirt events into glib main loop
|
||||
LibvirtGLib.init(None)
|
||||
LibvirtGLib.event_register()
|
||||
|
|
Loading…
Reference in New Issue