summaryrefslogtreecommitdiff
path: root/src/frontend/cli
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2020-08-18 16:32:47 +0300
committerbionel <ionel.busuioc@gmail.com>2020-08-18 16:32:47 +0300
commit61bae3efdc42fc1d748e4d60d24ff45e885ea212 (patch)
tree01e002aa888ca2f179365672690d565cd56406fa /src/frontend/cli
parent9ea619cd8cf630016ac2e38988bf7e5a86e06559 (diff)
pythonize check.root :P
Diffstat (limited to 'src/frontend/cli')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 61a5d82..8937c93 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -177,7 +177,7 @@ def autoremove():
@app.command("update")
def update():
"""Update the Portage tree, the Redcore Overlay(s), Portage configs and Sisyphus's package database."""
- if sisyphus.check.root() == 0:
+ if sisyphus.check.root():
sisyphus.update.start()
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")