aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sctrace.c')
-rw-r--r--sctrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sctrace.c b/sctrace.c
index 65216a5..970d6c4 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -145,7 +145,7 @@ main(int argc, char **argv)
}
/* exec will block until parent attaches */
execvp(*argv, &argv[with_argv0]);
- /* TODO on failure, why does it get into a SIGSEGV loop under valgrind? */
+ kill(getppid(), SIGKILL);
eprintf("execvp %s:", *argv);
default:
orig_pid = pid;