diff options
-rw-r--r-- | module/pyunrar.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/pyunrar.py b/module/pyunrar.py index 14379ffcb..3ba689dad 100644 --- a/module/pyunrar.py +++ b/module/pyunrar.py @@ -110,7 +110,10 @@ class Unrar(): try: Popen(["renice", self.cpu, p.pid], stdout=PIPE, bufsize=-1) except: - print "Renice failed" + try: + Popen(["busybox", "renice", self.cpu, p.pid], stdout=PIPE, bufsize=-1) + except: + print "Renice failed" def listContent(self, password=None): """ |