tags 314238 +pending
thanks

On Wednesday 15 June 2005 12.39, Roberto Suarez Soto wrote:
> Package: postgrey
> Version: 1.21-2
> Severity: important
>
>       There's a bashism in the init.d script of postgrey. The net effect is
>       this:
>

[...]

>       if [[ "$POSTGREY_TEXT" = "" ]]; then

Sorry about that, I think '-z' would be ok, could you verify this please?  
(patch below)

thanks for the report

greetings
-- vbi

Index: debian/postgrey.init
===================================================================
--- debian/postgrey.init        (revision 899)
+++ debian/postgrey.init        (working copy)
@@ -30,7 +30,7 @@
 fi

 POSTGREY_OPTS="--pidfile=$PIDFILE --daemonize $POSTGREY_OPTS"
-if [[ "$POSTGREY_TEXT" = "" ]]; then
+if [ -z "$POSTGREY_TEXT" ]; then
     POSTGREY_TEXT_OPT=""
 else
     POSTGREY_TEXT_OPT="--greylist-text=$POSTGREY_TEXT"



-- 
The program is absolutely right; therefore the computer must be wrong.

Attachment: pgpofBTkLdfj0.pgp
Description: PGP signature

Reply via email to