Subject: Re: postinstall exit status
To: Pavel Cahyna <pavel@netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-userlevel
Date: 09/29/2007 15:49:09
On Sat, 29 Sep 2007, Pavel Cahyna wrote:
>> Maybe follow grep(1)'s example:
>> 0 - no problem
>> 1 - a check/fix failed
>> 2 - an error ocurred
>
> OK. But then check will return a different code than fix, because when
> "check" fails, "fix" is needed and it typically succeeds.

I don't understand. Why do you need different codes to indicate if a check 
or a fix failed - don't you think people remember what they called? ;)


  - Hubert