Skip to content

Commit 9ffa1d0

Browse files
committed
fix: quote variable substitution to prevent whitespace issue
Again the tracker variable should not have embeded whitespace but.... Courtesy of https://www.shellcheck.net/
1 parent ea0a4a4 commit 9ffa1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Docker/roundup_healthcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# returns last one for testing that server is up. Does not test
55
# each tracker.
66
tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
7-
wget -q -O /dev/null --no-verbose http://localhost:8080/${tracker:-demo}/
7+
wget -q -O /dev/null --no-verbose http://localhost:8080/"${tracker:-demo}"/

0 commit comments

Comments
 (0)