Re: Why usage function exit with code 129?
- From
徐迪 <xudifsd@gmail.com>
- Date
- Jan 6, 2012, 08:06 UTC
- Message-ID
- <CAMocUqSmes+x_tkP6V0OM5rQ5wDGmMm=Q2MFBPhz6Qvzz_SOTg@mail.gmail.com>
- In-Reply-To
- <CACsJy8Amo_9-9oCgHbwOZvTaNOV3Jj6wLCTU7nZT5LeA55=NEA@mail.gmail.com>
>> [1] http://tldp.org/LDP/abs/html/exitcodes.html > > No it does not mean terminated by signals. > --
In that case, why not just use another code instead of the code that leads misunderstanding? I mean, as far as I know, exit code between 129 and 255 are used to indicate the program terminated by signal. So that usage function can only exit with code between 1 and 127. Am I wrong?