Skip to content

Commit

Permalink
fix: supervisor command does not require sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Aug 24, 2020
1 parent 0e24180 commit c5cf916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/cli.py
Expand Up @@ -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'):
Expand Down

0 comments on commit c5cf916

Please sign in to comment.