summaryrefslogtreecommitdiff
path: root/src/backend/uninstallforce.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/uninstallforce.py')
-rw-r--r--src/backend/uninstallforce.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/uninstallforce.py b/src/backend/uninstallforce.py
index f85dbe1..11139f4 100644
--- a/src/backend/uninstallforce.py
+++ b/src/backend/uninstallforce.py
@@ -6,7 +6,7 @@ import sisyphus.database
import sys
def start(pkgname):
- if sisyphus.check.root() == 0:
+ if sisyphus.check.root():
portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname))
portageExec.wait()
sisyphus.database.syncLocal()