Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule, repack: migrate to git-sh-setup's say()
[gitweb.git]
/
run-command.h
diff --git
a/run-command.h
b/run-command.h
index 0211e1d471d37a41f77098e8fff8a031fb26cb71..e3455028435eab958d5f86a3e86249f1704b9c1b 100644
(file)
--- a/
run-command.h
+++ b/
run-command.h
@@
-10,6
+10,7
@@
enum {
ERR_RUN_COMMAND_WAITPID_SIGNAL,
ERR_RUN_COMMAND_WAITPID_NOEXIT,
};
+#define IS_RUN_COMMAND_ERR(x) (-(x) >= ERR_RUN_COMMAND_FORK)
struct child_process {
const char **argv;