[Mimedefang] ./mimedefang: line 1: [: missing `]'
Paul
freebsd at pksnet.com
Mon Jan 2 16:17:46 EST 2006
Hello George,
As per David's earlier post which may also solve your issue:
-----------------------
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.
--------------------------------
======= At 2006-01-02, 15:34:10 you wrote: =======
>Hi,
>I got this error when I try to start mimedefang using
>/etc/init.d/mimedefang start
>Starting mimedefang-multiplexor:
> ./mimedefang: line 1: [: missing `]'
>[ OK ]
>Starting mimedefang:
> ./mimedefang: line 1: [: missing `]'
>[ OK ]
>I have copied the init-script ro /etc/init.d following
>the mimedefang howto
>su -c 'cp examples/init-script /etc/init.d/mimedefang'
>I haven't made any changes to it
>any help would be appreciated,
>george
>
>
>
>__________________________________________
>Yahoo! DSL Something to write home about.
>Just $16.99/mo. or less.
>dsl.yahoo.com
>
>_______________________________________________
>NOTE: If there is a disclaimer or other legal boilerplate in the above
>message, it is NULL AND VOID. You may ignore it.
>
>Visit http://www.mimedefang.org and http://www.roaringpenguin.com
>MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
= = = = = = = = = = = = = = = = = = = =
Paul
freebsd at pksnet.com
2006-01-02
More information about the MIMEDefang
mailing list