tags 489635 + patch
thanks

Patch attached; just renaming SECONDS to SECS avoids both the false
positive from checkbashisms and any confusing with the SECONDS Bash
variable.


Regards,

-- 
Chris Lamb, UK                              [EMAIL PROTECTED]
                                                   GPG: 0x634F9A20
diff -urNd msmtp-1.4.15.orig/scripts/msmtpqueue/msmtp-runqueue.sh 
msmtp-1.4.15/scripts/msmtpqueue/msmtp-runqueue.sh
--- msmtp-1.4.15.orig/scripts/msmtpqueue/msmtp-runqueue.sh      2008-08-24 
14:23:12.000000000 +0100
+++ msmtp-1.4.15/scripts/msmtpqueue/msmtp-runqueue.sh   2008-08-24 
14:24:33.000000000 +0100
@@ -7,10 +7,10 @@
 OPTIONS=$@
 
 # wait for a lock that another instance has set
-SECONDS=0
-while [ -e "$LOCKFILE" -a "$SECONDS" -lt "$MAXWAIT" ]; do
+SECS=0
+while [ -e "$LOCKFILE" -a "$SECS" -lt "$MAXWAIT" ]; do
        sleep 1
-       SECONDS="`expr "$SECONDS" + 1`"
+       SECS="`expr "$SECS" + 1`"
 done
 if [ -e "$LOCKFILE" ]; then
        echo "Cannot use $QUEUEDIR: waited $MAXWAIT seconds for"

Attachment: signature.asc
Description: PGP signature

Reply via email to