summaryrefslogtreecommitdiff
path: root/src/backend/searchbinary.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/searchbinary.py')
-rw-r--r--src/backend/searchbinary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/searchbinary.py b/src/backend/searchbinary.py
index d4ce032..d2c9eac 100644
--- a/src/backend/searchbinary.py
+++ b/src/backend/searchbinary.py
@@ -127,7 +127,7 @@ def showSearch(filter, cat, pn, desc, single):
print("To search for source packages, use the '--ebuild' option.")
def start(filter, cat, pn, desc, single):
- if sisyphus.check.root() == 0:
+ if sisyphus.check.root():
sisyphus.update.start()
else:
print('\nYou are not root, cannot fetch updates.\nSearch result may be inaccurate!\n')