From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 10:33:58 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24BF1065688; Tue, 15 Jun 2010 10:33:58 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 45EFF8FC21; Tue, 15 Jun 2010 10:33:56 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 97FA41FFC33; Tue, 15 Jun 2010 10:33:55 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 6CD3F84490; Tue, 15 Jun 2010 12:31:45 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Garrett Cooper References: <201006101346.59824.jhb@freebsd.org> Date: Tue, 15 Jun 2010 12:31:45 +0200 In-Reply-To: (Garrett Cooper's message of "Mon, 14 Jun 2010 14:22:32 -0700") Message-ID: <864oh4poxa.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: RFC: etcupdate tool in base? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2010 10:33:58 -0000 Garrett Cooper writes: > 1. Script doesn't check to see whether or not it has write access (and > doesn't catch some errors): IMHO, any shell script which is intended to be used more than twice should start with "set -e". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no