Merge branch 'jc/maint-1.6.0-diff-borrow-carefully' into maint
[gitweb.git] / run-command.h
index 0211e1d471d37a41f77098e8fff8a031fb26cb71..e3455028435eab958d5f86a3e86249f1704b9c1b 100644 (file)
@@ -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;