diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-18 19:30:26 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-18 19:30:26 +0200 |
commit | 41ce3a4dcf5a03588b7c350445e73975c6b12ff7 (patch) | |
tree | 8392bded2d40b293ed88d11a633e0325f8dcad14 /src | |
parent | ba04d2889a4e017c6043bac9951f722e60b63bc5 (diff) |
Add an actual unit-test for the execute function.
Diffstat (limited to 'src')
-rw-r--r-- | src/execute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execute.cc b/src/execute.cc index bc4cd5f..414ce70 100644 --- a/src/execute.cc +++ b/src/execute.cc @@ -26,7 +26,7 @@ int parent_waitpid(pid_t pid) return 1; } - return status; + return WEXITSTATUS(status); } } // namespace :: |