no SIGINT on NetWare
This commit is contained in:
parent
249015c01f
commit
fd7a5001e0
@ -14,7 +14,12 @@ public class ShellIntHandler implements SignalHandler {
|
||||
handlerShell = shell;
|
||||
handlers = new Stack();
|
||||
|
||||
Signal signal = new Signal("INT");
|
||||
Signal signal;
|
||||
try {
|
||||
signal = new Signal("INT");
|
||||
} catch (IllegalArgumentException e) {
|
||||
return; //e.g NetWare
|
||||
}
|
||||
|
||||
try {
|
||||
Signal.handle(signal, new ShellIntHandler());
|
||||
|
Loading…
Reference in New Issue
Block a user