mirror of https://github.com/zulip/zulip.git
create-zulip-admin: Fix shell quoting.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
981f09d950
commit
5ba84d75ce
|
@ -9,7 +9,5 @@ if { [ "$ZULIP_USER_CREATION_ENABLED" == "True" ] || [ "$ZULIP_USER_CREATION_ENA
|
|||
exit 1
|
||||
fi
|
||||
set +e
|
||||
sudo -H -u zulip -g zulip bash <<BASH
|
||||
/home/zulip/deployments/current/manage.py create_user --this-user-has-accepted-the-tos --realm "$ZULIP_USER_DOMAIN" --password "$ZULIP_USER_PASS" "$ZULIP_USER_EMAIL" "$ZULIP_USER_FULLNAME"
|
||||
/home/zulip/deployments/current/manage.py knight "$ZULIP_USER_EMAIL" -f
|
||||
BASH
|
||||
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py create_user --this-user-has-accepted-the-tos --realm "$ZULIP_USER_DOMAIN" --password "$ZULIP_USER_PASS" "$ZULIP_USER_EMAIL" "$ZULIP_USER_FULLNAME"
|
||||
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py knight "$ZULIP_USER_EMAIL" -f
|
||||
|
|
Loading…
Reference in New Issue