summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/internal/UnRar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py
index de6215704..9800386b3 100644
--- a/module/plugins/internal/UnRar.py
+++ b/module/plugins/internal/UnRar.py
@@ -128,6 +128,8 @@ class UnRar(AbtractExtractor):
raise WrongPassword
if err.strip(): #raise error if anything is on stderr
raise ArchiveError(err.strip())
+ if p.returncode:
+ raise ArchiveError("Process terminated")
if not self.files:
self.password = password