update-prod-static: Ensure that it is run as the zulip user.

This commit is contained in:
Alex Vandiver
2021-05-21 12:41:14 -07:00
committed by Tim Abbott
parent 540904aa9d
commit 2a69b4f3b7

View File

@@ -16,7 +16,9 @@ from django.conf import settings
# check for the venv
from lib import sanity_check
from scripts.lib.node_cache import setup_node_modules
from scripts.lib.zulip_tools import run
from scripts.lib.zulip_tools import assert_not_running_as_root, run
assert_not_running_as_root()
sanity_check.check_venv(__file__)