git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Why usage function exit with code 129?

From
徐迪 <xudifsd@gmail.com>
Date
Jan 6, 2012, 07:15 UTC
Message-ID
<CAMocUqSbiO2XC3PUEciyV3HxgqDPW_rTW-hYH4P=C=BFCSrQMQ@mail.gmail.com>

I did like this: $ git add --foo $ echo $? what I got is 129, should this code being used as program terminated due to a signal? Cause it's 128+1. According to this[1].

[1] http://tldp.org/LDP/abs/html/exitcodes.html
Next: Nguyen Thai Ngoc Duy
Message 1 of 5 in “Why usage function exit with code 129?”
  1. 徐迪Jan 6, 2012
  2. Nguyen Thai Ngoc DuyJan 6, 2012
  3. 徐迪Jan 6, 2012
  4. Nguyen Thai Ngoc DuyJan 6, 2012
  5. 徐迪Jan 6, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.