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 c97956c5ff
commit e2d8c97463
1 changed files with 3 additions and 1 deletions

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__)