From owner-freebsd-questions Wed Nov 27 6:58:10 2002 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 4CD6737B401 for ; Wed, 27 Nov 2002 06:58:09 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD07A43EBE for ; Wed, 27 Nov 2002 06:58:07 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAREvkD56402; Wed, 27 Nov 2002 08:57:47 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021127085747.0112d130@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 27 Nov 2002 08:57:47 -0600 To: "Toomas Aas" , Clint Olsen , questions@FreeBSD.ORG, b.k.jackson@verizon.net From: "Jack L. Stone" Subject: Re: 4.7 changes to /bin/sh? In-Reply-To: <200211271424.gAREOjx11154@lv.raad.tartu.ee> References: <20021127043410.GA25180@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 04:23 PM 11.27.2002 +0200, Toomas Aas wrote: >> The line it bitched about was something like: >> >> [ -x ${PREFIX}/sbin/thttpd_wrapper ] && ${PREFIX}/sbin/thttpd_wrapper & && >> echo -n ' thttpd' >> >> I presume it was complaining about running a command in the background and >> then trying to use the && operator to run the following command. > >Your diagnosis is correct. This change is even mentioned in 4.7 release >notes (which I read *after* posting similar message to this list a >few weeks ago). > >I don't know about thttpd_wrapper, but with my scripts (mysql_server.sh >and pwcheck.sh) I could just remove the single & and the scripts >started to work OK. >-- hmmmm.... I removed the "&&" and left the single "&" and that worked fine too. Guess either one is right if it works.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message