Blob Blame History Raw
diff -uNr fetch-crl-2.8.3.ORIG/edg-fetch-crl fetch-crl-2.8.3/edg-fetch-crl
--- fetch-crl-2.8.3.ORIG/edg-fetch-crl	2010-04-05 19:12:49.000000000 +0200
+++ fetch-crl-2.8.3/edg-fetch-crl	2010-04-05 19:13:23.000000000 +0200
@@ -589,7 +589,7 @@
 #
 # Sleep for a random wait within a maximum if requested.
 #
-if [ "X${RandomWait}" != "X" -a ${RandomWait} -ne 0 ] ; then
+if [ "X${RandomWait}" != "X" ] &&  [ ${RandomWait} -ne 0 ] ; then
    timeStamp=`${date} +%Y%m%dT%H%M%S%z`
    PrintInformation "Sleeping CRL retrieval process at ${timeStamp} for up to ${RandomWait} minutes"
    sleep `expr ${RANDOM:-0} % \( ${RandomWait} \* 60 \)`