update function parameter for EXIT signal

changed `function __trap_handler_EXIT --on-exit %self` to `function __trap_handler_EXIT --on-process-exit %self`

I'm guessing the on-exit syntax was from an older version? Trapping EXIT with that syntax caused errors.
This commit is contained in:
David Woods
2015-07-08 23:56:20 -04:00
committed by ridiculousfish
parent 05daedf7c6
commit 4a3cda1495

View File

@@ -12,7 +12,7 @@ function __trap_switch
switch $argv[1]
case EXIT
echo --on-exit %self
echo --on-process-exit %self
case '*'
echo --on-signal $argv[1]