summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
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()