[Mimedefang] init script error or warning message

adorn at imshealth.de adorn at imshealth.de
Tue Feb 21 06:15:32 EST 2006


>> when i start the mimedefang i get this:
>> 
>> /etc/init.d/mimedefang start
>> Starting mimedefang-multiplexor:
>> /etc/init.d/mimedefang: line 1: [: missing `]'
>> [  OK  ]
>> Starting mimedefang:
>> /etc/init.d/mimedefang: line 1: [: missing `]'
>> [  OK  ]
>
> Check your startup script for "if" checks where the closing bracket does
not
> have a space in front of it, e.g.:
> 
> CORRECT:	if [ -x /usr/bin/$prog ] ; then
> WRONG:	if [ -x /usr/bin/$prog] ; then
> 
> Note the space after $prog - this is important, as Bourne shell needs it
to
> be able to see the end of the variable before the closing bracket.

that is it , thank you

>> See also
>>
http://lists.roaringpenguin.com/pipermail/mimedefang/2006-January/028983.htm
l
>> - the mailing list archives are your friend.

ah yes, you´re right, i should have searched with a more accurate search
term....sorry


> Best Wishes,

> Paul.

anyway, thank you !

andy





More information about the MIMEDefang mailing list