From owner-freebsd-questions@FreeBSD.ORG Fri Jul 28 14:33:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9387F16A4F0 for ; Fri, 28 Jul 2006 14:33:07 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98C2243D79 for ; Fri, 28 Jul 2006 14:32:55 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by nz-out-0102.google.com with SMTP id 13so162140nzn for ; Fri, 28 Jul 2006 07:32:55 -0700 (PDT) Received: by 10.65.113.17 with SMTP id q17mr1423806qbm; Fri, 28 Jul 2006 07:32:55 -0700 (PDT) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.gmail.com with ESMTP id e17sm2644321qba.2006.07.28.07.32.55; Fri, 28 Jul 2006 07:32:55 -0700 (PDT) Date: Fri, 28 Jul 2006 10:33:03 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: References: <20060728064527.1B82.GERARD@seibercom.net> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060728102952.AD25.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Subject: Re: Script File Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 14:33:07 -0000 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.