Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 12:31:45 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: RFC: etcupdate tool in base?
Message-ID:  <864oh4poxa.fsf@ds4.des.no>
In-Reply-To: <AANLkTikREfDupHi3mnCdUdwXt015KorPvbVGqxwW4MkC@mail.gmail.com> (Garrett Cooper's message of "Mon, 14 Jun 2010 14:22:32 -0700")
References:  <201006101346.59824.jhb@freebsd.org> <AANLkTikREfDupHi3mnCdUdwXt015KorPvbVGqxwW4MkC@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper <yanefbsd@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864oh4poxa.fsf>