From owner-freebsd-questions Tue Nov 26 20:34:12 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 0D76937B401 for ; Tue, 26 Nov 2002 20:34:12 -0800 (PST) Received: from 0lsen.net (12-231-216-103.client.attbi.com [12.231.216.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F38743E88 for ; Tue, 26 Nov 2002 20:34:11 -0800 (PST) (envelope-from clint@0lsen.net) Received: by 0lsen.net (Postfix, from userid 1001) id AAA1F12BF; Tue, 26 Nov 2002 20:34:10 -0800 (PST) Date: Tue, 26 Nov 2002 20:34:10 -0800 From: Clint Olsen To: questions@freebsd.org Subject: 4.7 changes to /bin/sh? Message-ID: <20021127043410.GA25180@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: NULlsen Network X-Disclaimer: Mutt Bites! 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 Hi: I installed the port for thttpd, and when I upgraded to 4.7, it broke my rc.d script, complaining about an unexpected '&&'. 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. -Clint To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message