Ver código fonte

style: shellcheck linting

Nicolas Duchon 1 ano atrás
pai
commit
9a76577ebc
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4 4
      test/requirements/web/entrypoint.sh

+ 4 - 4
test/requirements/web/entrypoint.sh

@@ -5,11 +5,11 @@ trap '[ ${#PIDS[@]} -gt 0 ] && kill -TERM ${PIDS[@]}' TERM
 declare -a PIDS
 
 for port in $WEB_PORTS; do
-	echo starting a web server listening on port $port;
-	/webserver.py $port &
+	echo starting a web server listening on port "$port";
+	/webserver.py "$port" &
 	PIDS+=($!)
 done
 
-wait ${PIDS[@]}
+wait "${PIDS[@]}"
 trap - TERM
-wait ${PIDS[@]}
+wait "${PIDS[@]}"