diff options
Diffstat (limited to 'ansible/roles/postfix/templates/services/fredrick-reply.sh.j2')
| -rw-r--r-- | ansible/roles/postfix/templates/services/fredrick-reply.sh.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/postfix/templates/services/fredrick-reply.sh.j2 b/ansible/roles/postfix/templates/services/fredrick-reply.sh.j2 index 90ebe04..9cc9ad3 100644 --- a/ansible/roles/postfix/templates/services/fredrick-reply.sh.j2 +++ b/ansible/roles/postfix/templates/services/fredrick-reply.sh.j2 @@ -107,7 +107,7 @@ case $RECIPIENT in at -q z -f "$ATSCRIPT" now + 1 min ;; *) - reply_delay=$(awk 'BEGIN { srand(); print (rand() * 100) + 20 }') + reply_delay=$(awk 'BEGIN { srand(); print int((rand() * 100) + 20) }') at -q z -f "$ATSCRIPT" now + "$reply_delay" min ;; esac |