mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
scripts: Make zulip-puppet-apply check if the user is root.
Fixes #10833.
This commit is contained in:
committed by
Tim Abbott
parent
767acfa2ac
commit
0975bbb39e
@@ -5,7 +5,9 @@ import sys
|
|||||||
import subprocess
|
import subprocess
|
||||||
import configparser
|
import configparser
|
||||||
import re
|
import re
|
||||||
from lib.zulip_tools import parse_lsb_release
|
from lib.zulip_tools import parse_lsb_release, script_should_be_root
|
||||||
|
|
||||||
|
script_should_be_root()
|
||||||
|
|
||||||
force = False
|
force = False
|
||||||
extra_args = sys.argv[1:]
|
extra_args = sys.argv[1:]
|
||||||
|
|||||||
Reference in New Issue
Block a user