aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-05-30 20:22:56 +0200
committerGitHub <noreply@github.com>2017-05-30 20:22:56 +0200
commitc4536c1435314a1b2c202ea52c95c6d67251e2cf (patch)
tree28d1ae8bd5bc68a62ab219b609c257866fcceca4 /executor
parent75b66eabef6ee2b89d89f31d90ff2ed9d3478c39 (diff)
parent29fc5b76cdfa2f32e7965f54aeb28356b93f3704 (diff)
Merge pull request #198 from prattmic/cleanup
all: cleanup executor/ipc interaction
Diffstat (limited to 'executor')
-rw-r--r--executor/executor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index cb31e0697..044410792 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -226,7 +226,8 @@ int main(int argc, char** argv)
// ptrace(PTRACE_SEIZE, 1, 0, 0x100040)
// This is unfortunate, but I don't have a better solution than ignoring it for now.
exitf("loop exited with status %d", status);
- return 0;
+ // Unreachable.
+ return 1;
}
void loop()