aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 4405548df..6c63b4667 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -59,6 +59,7 @@ const uint64_t arg_data = 2;
const int kFailStatus = 67;
const int kErrorStatus = 68;
+const int kRetryStatus = 69;
// We use the default value instead of results of failed syscalls.
// -1 is an invalid fd and an invalid address and deterministic,
@@ -976,7 +977,7 @@ void exitf(const char* msg, ...)
vfprintf(stderr, msg, args);
va_end(args);
fprintf(stderr, " (errno %d)\n", e);
- exit(1);
+ exit(kRetryStatus);
}
void debug(const char* msg, ...)