aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2010-04-18 22:06:44 +0300
committerAvatar Ali Polatel <alip@exherbo.org> 2010-04-18 22:06:44 +0300
commitd14100daf494200c41a7b8c40c768d2b5f3f8c97 (patch)
treed12ca250978ae7bfe137f61512181c806ef291c4
parent148f17bfa261e09088c49033c372a14552d77560 (diff)
downloadsydbox-libsydbox.tar.gz
sydbox-libsydbox.tar.xz
Check for SIGTRAP now that we use vfork()libsydbox
-rw-r--r--src/libsydbox/sydbox-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsydbox/sydbox-exec.c b/src/libsydbox/sydbox-exec.c
index b0ff8d6..23c9243 100644
--- a/src/libsydbox/sydbox-exec.c
+++ b/src/libsydbox/sydbox-exec.c
@@ -62,7 +62,7 @@ sydbox_exec (const sydbox_context_t * const ctx,
return WEXITSTATUS (status);
}
- g_return_val_if_fail (WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP, EXIT_FAILURE);
+ g_return_val_if_fail (WIFSTOPPED (status) && WSTOPSIG (status) == SIGTRAP, EXIT_FAILURE);
if (! sydbox_trace_process (trace, pid))
goto error;