mirror of https://github.com/dyne/zuper.git
stop intercepting INT signals (ctrl-C)
this signal hook provoked several problems in interactive applications as the devuan -sdk where it may be desirable and almost automatic behavior to stop an operation with ctrl-c. intercepting this signal in endgame then leads to frustration as all variables and current configurations are forgotten. it must be still assessed carefully the impact of this change in all applications and eventually reverted to have an "interactive" mode where zuper avoids interception.
This commit is contained in:
parent
40e808ec03
commit
f23216094a
2
zuper
2
zuper
|
|
@ -233,7 +233,7 @@ catch() { function TRAPZERR() { } }
|
|||
arrs+=(destruens)
|
||||
|
||||
# Trap functions for the endgame event
|
||||
TRAPINT() { endgame INT; return $? }
|
||||
# TRAPINT() { endgame INT; return $? }
|
||||
# TRAPEXIT() { endgame EXIT; return $? }
|
||||
TRAPHUP() { endgame HUP; return $? }
|
||||
TRAPQUIT() { endgame QUIT; return $? }
|
||||
|
|
|
|||
Loading…
Reference in New Issue