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
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment