diff --git a/services/capability/bin/start-capability-with-healthchecks.sh b/services/capability/bin/start-capability-with-healthchecks.sh
index 7b38f92513165e21573d5c37b802589492ed5253..b51d3cf738381983aef9ed56c5d799312e9996d8 100755
--- a/services/capability/bin/start-capability-with-healthchecks.sh
+++ b/services/capability/bin/start-capability-with-healthchecks.sh
@@ -16,4 +16,4 @@
 # You should have received a copy of the GNU General Public License
 # along with Workspaces.  If not, see <https://www.gnu.org/licenses/>.
 
-if ( curl -f -LI ${ENV_HOST}:3458/healthcheck ) && ( curl -f -LI ${ENV_HOST}:3456/healthcheck ); then poetry run pserve --reload dev.ini; else exit 1; fi
+if ( curl -f -LI "${ENV_HOST}":3458/healthcheck ) && ( curl -f -LI "${ENV_HOST}":3456/healthcheck ); then poetry run pserve --reload dev.ini; else exit 1; fi