summaryrefslogtreecommitdiff
path: root/src/frontend/cli
diff options
context:
space:
mode:
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 b1b2e3f..5f8216a 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.checkEnvironment.root():
+ if sisyphus.checkenv.root():
sisyphus.updateAll.cliExec()
else:
sys.exit("\nYou need root permissions to do this, exiting!\n")