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:
Tim Abbott
2018-11-19 10:50:25 -08:00
parent eae9251cb7
commit 3e3eb2aa7f
6 changed files with 12 additions and 12 deletions

View File

@@ -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:]