diff --git a/client/solo/main.py b/client/solo/main.py index d4c8fe888..e297c57a1 100644 --- a/client/solo/main.py +++ b/client/solo/main.py @@ -321,5 +321,9 @@ def main(): raise SystemExit(exit_st) else: + # execute this anyway so that commands are + # incomplete or invalid, the command error + # message will take precedence. + _func, _func_args = cmd_obj.parse() print_error(_("superuser access required")) raise SystemExit(1)