From 190158304a0b46598357150c88fff906f893cc0c Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Mon, 11 Jun 2018 12:55:43 +0200 Subject: [sosreport] --batch option does not display results Fixing a regression caused by 8e69d36 . Resolves: #1337 Signed-off-by: Pavel Moravec --- sos/sosreport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sos/sosreport.py b/sos/sosreport.py index 76343836..a7d69a8b 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -1620,8 +1620,7 @@ class SoSReport(object): except (OSError, IOError): print(_("Error moving checksum file: %s" % archive_hash)) - if archive and checksum: - self.policy.display_results(archive, directory, checksum) + self.policy.display_results(archive, directory, checksum) # clean up logging.shutdown() -- cgit