X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.h;h=e3455028435eab958d5f86a3e86249f1704b9c1b;hb=6d71c1dca4396de545a6c9667b3dcf0c03e42b30;hp=0211e1d471d37a41f77098e8fff8a031fb26cb71;hpb=f18e6bef23809d2823c1a687f375b22c6af0e735;p=git.git diff --git a/run-command.h b/run-command.h index 0211e1d47..e34550284 100644 --- 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;