Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

refresh-sharding-and-restart: Quote to prevent shell glob expansion.

Anders Kaseorgea6f18bb4690
diff --git a/scripts/refresh-sharding-and-restart b/scripts/refresh-sharding-and-restart
index aae70674ae5..4b9ee77b7f8 100755
--- a/scripts/refresh-sharding-and-restart
+++ b/scripts/refresh-sharding-and-restart
@@ -33,7 +33,7 @@ mv /etc/zulip/sharding.json.tmp /etc/zulip/sharding.json
# while Django is restarting. For this reason it's important to
# reload nginx only after Django.
supervisorctl restart zulip-django
-supervisorctl restart zulip-workers:*
+supervisorctl restart 'zulip-workers:*'
if [ -f /etc/supervisor/conf.d/zulip/zulip-once.conf ]; then
supervisorctl restart zulip_deliver_scheduled_emails zulip_deliver_scheduled_messages
fi