[Mimedefang] defang startup errors

David F. Skoll dfs at roaringpenguin.com
Fri Dec 9 13:18:26 EST 2005


Greg McCarthy wrote:

> ./init-script: line 182: [: missing `]'
> [  OK  ]
> Starting mimedefang:
> ./rc.mimedefang: line 220: [: missing `]'
> [  OK  ]

There are annoying bugs in the 2.54 startup script; sorry!

Because of ancient and hairy UNIXy reasons, this snippet is not
valid:

	`[ -n "$SPOOLDIR"] && echo "-z $SPOOLDIR"` \

whereas this one is:

	`[ -n "$SPOOLDIR" ] && echo "-z $SPOOLDIR"` \

Spot the difference? :-)

Adding a space before the ] on lines 182 and 220 will make the
warning go away.

Regards,

David.



More information about the MIMEDefang mailing list