From 4a56b65b59b1442a664784e7ad11b747409e9a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 8 Mar 2014 03:50:08 +0100 Subject: [PATCH] backups: fix error reporting, do not report EOF as an error Do not report main thread error (notified as "ERROR" file) as ExtractWorker error. --- core/backup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/backup.py b/core/backup.py index de5def6f..b3ae0925 100644 --- a/core/backup.py +++ b/core/backup.py @@ -872,7 +872,8 @@ class ExtractWorker(Process): if self.tar2_process is not None: if filename == "ERROR": self.tar2_process.terminate() - if self.tar2_process.wait() != 0: + self.tar2_process.wait() + elif self.tar2_process.wait() != 0: raise QubesException( "ERROR: unable to extract files for {0}.{1}". format(self.tar2_current_file,