aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma2
1 files changed, 1 insertions, 1 deletions
diff --git a/firma b/firma
index 86514b9..eff7227 100755
--- 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