mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
serial: Don't fail when reconnecting to existing char device.
This commit is contained in:
parent
7277d28c46
commit
a0ac5b3b63
@ -86,8 +86,9 @@ class vmmSerialConsole(gtk.HBox):
|
||||
if port == self.target_port:
|
||||
if path != self.ttypath:
|
||||
logging.debug("Serial console '%s' path changed to %s."
|
||||
% (self.target_port, self.ttypath))
|
||||
return path
|
||||
% (self.target_port, path))
|
||||
|
||||
return path
|
||||
|
||||
logging.debug("No serial devices found for serial console '%s'." %
|
||||
self.target_port)
|
||||
|
Loading…
Reference in New Issue
Block a user