diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-14 08:01:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-14 08:01:27 -0800 |
commit | 750a6cacf49dd57a4b4891ffdbd63191180273da (patch) | |
tree | 43d467def1e540b1b9902d5ef54f1de578c5aaf9 /Documentation/technical | |
parent | Merge branch 'jn/xml-depends-on-asciidoc-conf' into maint (diff) | |
parent | run-command: encode signal death as a positive integer (diff) | |
download | tgif-750a6cacf49dd57a4b4891ffdbd63191180273da.tar.xz |
Merge branch 'jk/unify-exit-code-by-receiving-signal' into maint
* jk/unify-exit-code-by-receiving-signal:
run-command: encode signal death as a positive integer
Diffstat (limited to 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-run-command.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/technical/api-run-command.txt b/Documentation/technical/api-run-command.txt index f18b4f4817..5d7d7f2d32 100644 --- a/Documentation/technical/api-run-command.txt +++ b/Documentation/technical/api-run-command.txt @@ -55,10 +55,8 @@ The functions above do the following: non-zero. . If the program terminated due to a signal, then the return value is the - signal number - 128, ie. it is negative and so indicates an unusual - condition; a diagnostic is printed. This return value can be passed to - exit(2), which will report the same code to the parent process that a - POSIX shell's $? would report for a program that died from the signal. + signal number + 128, ie. the same value that a POSIX shell's $? would + report. A diagnostic is printed. `start_async`:: |