Skip to content
Snippets Groups Projects
Commit 76009480 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix a bug in helper's common.sh

It's the same thing fixed in 9aac6898
in the host's code
parent c6c35822
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,10 @@ cleanup() {
sleep $interval
$cmd && break
done
test $? -eq 1 && { echo "Giving Up..."; exit 1; }
if [ "$?" != "0" ]; then
echo "Giving Up..."
exit 1;
fi
done
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment