From c5cf9164a6bc94193b5b3cb01c0df49b642e5494 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Mon, 24 Aug 2020 13:33:51 +0530 Subject: [PATCH] fix: supervisor command does not require sudo --- bench/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/cli.py b/bench/cli.py index 63369a1d..36eff160 100755 --- a/bench/cli.py +++ b/bench/cli.py @@ -72,7 +72,7 @@ def check_uid(): def cmd_requires_root(): - if len(sys.argv) > 2 and sys.argv[2] in ('production', 'sudoers', 'supervisor', 'lets-encrypt', 'fonts', + if len(sys.argv) > 2 and sys.argv[2] in ('production', 'sudoers', 'lets-encrypt', 'fonts', 'print', 'firewall', 'ssh-port', 'role', 'fail2ban', 'wildcard-ssl'): return True if len(sys.argv) >= 2 and sys.argv[1] in ('patch', 'renew-lets-encrypt', 'disable-production'):