]> gitweb.fluxo.info Git - firma.git/commitdiff
small fic
authorrhatto <rhatto>
Fri, 13 Oct 2006 22:00:43 +0000 (22:00 +0000)
committerrhatto <rhatto>
Fri, 13 Oct 2006 22:00:43 +0000 (22:00 +0000)
firma

diff --git a/firma b/firma
index 86514b9df7a426dea62812fe396965fe9468523a..eff7227bd0351bb242bbc13574883b242933f189 100755 (executable)
--- a/firma
+++ b/firma
@@ -2129,7 +2129,7 @@ function SetDeliveryRandomization {
   # returns: 0 
   #-------------------------------------------------------------
 
-  if [ "$DELIVERY_RANDOMIZATION" != "0" ] || [ ! -z "$DELIVERY_RANDOMIZATION" ]; then
+  if [ "$DELIVERY_RANDOMIZATION" != "0" ] && [ ! -z "$DELIVERY_RANDOMIZATION" ]; then
     # remove non-digits
     DELIVERY_RANDOMIZATION="`echo $DELIVERY_RANDOMIZATION | sed -e 's/[^0-9]//g'`"
   else