mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
scripts: Clarify names of running-as-root assertions.
This should make it more obvious that these functions will exit the script if the check fails.
This commit is contained in:
@@ -5,9 +5,9 @@ import sys
|
||||
import subprocess
|
||||
import configparser
|
||||
import re
|
||||
from lib.zulip_tools import parse_lsb_release, script_should_be_root
|
||||
from lib.zulip_tools import parse_lsb_release, assert_running_as_root
|
||||
|
||||
script_should_be_root()
|
||||
assert_running_as_root()
|
||||
|
||||
force = False
|
||||
extra_args = sys.argv[1:]
|
||||
|
Reference in New Issue
Block a user