backups: fix error reporting, do not report EOF as an error
Do not report main thread error (notified as "ERROR" file) as ExtractWorker error.
This commit is contained in:
parent
c430355a5b
commit
4a56b65b59
@ -872,7 +872,8 @@ class ExtractWorker(Process):
|
|||||||
if self.tar2_process is not None:
|
if self.tar2_process is not None:
|
||||||
if filename == "ERROR":
|
if filename == "ERROR":
|
||||||
self.tar2_process.terminate()
|
self.tar2_process.terminate()
|
||||||
if self.tar2_process.wait() != 0:
|
self.tar2_process.wait()
|
||||||
|
elif self.tar2_process.wait() != 0:
|
||||||
raise QubesException(
|
raise QubesException(
|
||||||
"ERROR: unable to extract files for {0}.{1}".
|
"ERROR: unable to extract files for {0}.{1}".
|
||||||
format(self.tar2_current_file,
|
format(self.tar2_current_file,
|
||||||
|
Loading…
Reference in New Issue
Block a user