summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
authorbionel <bionel@lenovo.b5030>2020-09-20 12:52:11 +0300
committerbionel <bionel@lenovo.b5030>2020-09-20 12:52:11 +0300
commita23accad55705278cb19592c4af785dd182f36b7 (patch)
tree61b9fe56d7fdb9de868d20df3f3e3714a7e93e7e /src/backend/autoremove.py
parent02a67877e808bf2f3cf637bcc5694907ae6c2f00 (diff)
fix check.root
Diffstat (limited to 'src/backend/autoremove.py')
-rw-r--r--src/backend/autoremove.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index b5b732f..497d8e5 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -6,7 +6,7 @@ import sisyphus.database
import sys
def start():
- if sisyphus.check.root() == 0:
+ if sisyphus.check.root():
portageExec = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'])
portageExec.wait()
sisyphus.database.syncLocal()