From 611532581c12bf2a7ab49600264c7b32ab9c3cc8 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Jan 19 2018 08:53:10 +0000 Subject: framework/src/sealert: Finish dbus communication after error Call "finish" method of troubleshootd after ValueError. This exception doesn't occur in case of connection issues, therefore the communication should be properly ended. Resolves: rhbz#1461486 --- diff --git a/framework/src/sealert b/framework/src/sealert index b7d5898..6f3cf6c 100755 --- a/framework/src/sealert +++ b/framework/src/sealert @@ -681,6 +681,7 @@ if __name__ == '__main__': iface.finish() except ValueError as e: print(e, file=sys.stderr) + iface.finish() sys.exit(3) except dbus.exceptions.DBusException as e: print("Unable to establish connection to setroubleshoot daemon!\n" +