Date: Fri, 28 Jul 2006 10:33:03 -0400 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: Script File Error Message-ID: <20060728102952.AD25.GERARD@seibercom.net> In-Reply-To: <OFA3B0602E.C9B1D0D3-ONC22571B9.004AC717-C22571B9.004AE1BA@procreditbank.bg> References: <20060728064527.1B82.GERARD@seibercom.net> <OFA3B0602E.C9B1D0D3-ONC22571B9.004AC717-C22571B9.004AE1BA@procreditbank.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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@seibercom.net Never argue with a fool. They will lower you to their level and then beat you with experience.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060728102952.AD25.GERARD>