diff --git a/virt-manager b/virt-manager index eab96754..1f586559 100755 --- a/virt-manager +++ b/virt-manager @@ -214,7 +214,7 @@ def main(): # it avoids the issue display = os.environ.get("DISPLAY", "") msg = str(e) - if not display: + if display: msg += ": Could not open display: %s" % display logging.debug("".join(traceback.format_exc())) print msg