Script File Error

Gerard Seibert gerard at seibercom.net
Fri Jul 28 14:33:07 UTC 2006


Ivailo Tanusheff wrote:

> Hi,
> 
> You may correct the script by changing:
> 
> if ! [ -a $PHISH ]; then ...
> 
> with:
> 
> if ! [ -x $PHISH ]; then ...

According to this site:

http://www.tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html

that would not be correct. Anyway, I corrected it by rewriting it like
this:

if [ ! $PHISH ]; then

The error no longer appears. I am still not sure what was causing it
anyway.

Ciao!


-- 
Gerard Seibert
gerard at seibercom.net


Never argue with a fool. They will lower you to their level and then
beat you with experience.


More information about the freebsd-questions mailing list