On Sun, 22 Feb 2004, Adam Henson wrote:
> When looking in file /var/log/qmail/log/bincimap/current I see it is
>just filling up with the following error:
> ./run: syntax error at line 8: `(' unexpected
> Is it saying that the run file itself has an error on line 8? If so, I
>cant see it!
It's the bash expanding of $(hostname). Try replacing this with `hostname`
(with backticks). If that doesn't work you can just insert your own host
name there. :-)
To test, you could see if
echo $(hostname)
gives the same error. Then if
echo `hostname`
does.
Andy :-)
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
http://www.bincimap.org/ | than to do it poorly."