[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/45112: cgdconfig can return -1 from main
The following reply was made to PR bin/45112; it has been noted by GNATS.
From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
Subject: Re: bin/45112: cgdconfig can return -1 from main
Date: Mon, 4 Jul 2011 19:00:10 +0300
On Sun, Jul 03, 2011 at 07:10:01PM +0000, dholland%NetBSD.org@localhost wrote:
> At the bottom of main, check for -1 and return 2 instead? Also, if
> there's some real reason to return errnos, perhaps offset them by
> 16 or something... also, if so these exit codes should be
> documented, which they aren't.
Indeed, do something useful with the exit codes, like print a warning;
at least the following is related: PR bin/28624.
Main Index |
Thread Index |