no SIGINT on NetWare

This commit is contained in:
Doug MacEachern 2005-08-28 06:22:10 +00:00
parent 249015c01f
commit fd7a5001e0

View File

@ -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());