X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run-command.h;h=15e870a65eb037cd49d1e01251711915da06d260;hb=ebd15bf0d732db7dec4cfd8bbfa2c7430b6e875c;hp=0211e1d471d37a41f77098e8fff8a031fb26cb71;hpb=ed096c4a23476810831e12d2e9227403c21bd774;p=git.git diff --git a/run-command.h b/run-command.h index 0211e1d47..15e870a65 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;