Comment 2 for bug 1221648

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Proposition of patch to debian/bin/download-slave.sh

--- download-slave.sh 2013-09-06 11:54:16.017977718 +0200
+++ download-slave.sh.new 2013-09-06 11:51:43.541982223 +0200
@@ -13,7 +13,7 @@
 wget -q -O ${SLAVE_JAR} ${JENKINS_URL}/jnlpJars/slave.jar

 # Check to make sure slave.jar was downloaded.
-if [ -f ${SLAVE_JAR} ]
+if [ -s ${SLAVE_JAR} ]
 then
        exit 0
 else