mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 07:16:24 +08:00

In a galaxy far, far away, event_blockage_t was intended to block only cetain events. But it always just blocked everything. Eliminate the event block mask.
18 lines
329 B
Plaintext
18 lines
329 B
Plaintext
ALRM received
|
|
command false:
|
|
PROCESS_EXIT 1
|
|
JOB_EXIT 0
|
|
command true:
|
|
PROCESS_EXIT 0
|
|
JOB_EXIT 0
|
|
command false | true:
|
|
PROCESS_EXIT 1
|
|
PROCESS_EXIT 0
|
|
JOB_EXIT 0
|
|
This is the process whose exit event shuld be blocked
|
|
This should come before the event handler
|
|
PROCESS_EXIT 0
|
|
JOB_EXIT 0
|
|
Now event handler should have run
|
|
PROCESS_EXIT 0
|