From 517b77ca74821d2cd6c0fcd89f04aaaf8d3c76c7 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Sat, 24 Mar 2018 15:37:15 -0400 Subject: [PATCH] Fix handling of signals (#4851) --- src/exec.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/exec.cpp b/src/exec.cpp index 2b13367ec..bb50371f2 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -360,10 +360,8 @@ static bool can_use_posix_spawn_for_job(const job_t *job, const process_t *proce void internal_exec(job_t *j, const io_chain_t &&all_ios) { // Do a regular launch - but without forking first... - signal_block(); - // setup_child_process makes sure signals are properly set up. It will also call - // signal_unblock. + // setup_child_process makes sure signals are properly set up. // PCA This is for handling exec. Passing all_ios here matches what fish 2.0.0 and 1.x did. // It's known to be wrong - for example, it means that redirections bound for subsequent