Skip to content
Snippets Groups Projects
Commit 4308fc3a authored by Pietsch, Martin's avatar Pietsch, Martin
Browse files

bugfix: replace 1 by true on loop

parent 72885341
Branches
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ getAnswerfile() {
if [ $# -eq 2 ];
then
HOSTNAME=$(hostname)
while 1
while true
do
curl --silent --output "$2" "$1/${HOSTNAME}"
......@@ -61,8 +61,6 @@ getAnswerfile() {
retval=0
fi
done
retval=$?
fi
return ${retval}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment