Skip to content

Commit

Permalink
Fix wrong named child trap
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Oct 23, 2020
1 parent 87dd447 commit bf25cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ _async_worker() {
(( coproc_pid )) && read -r -k 1 -p tok

terminate_jobs
trap child_exit CHLD # Reinstall child trap.
trap close_idle_coproc CHLD # Reinstall child trap.
}

local request do_eval=0
Expand Down

0 comments on commit bf25cd8

Please sign in to comment.