in reply to Nameserver exit problem
Is the error still there when you remove the cleanup code from your signal handler?$SIG{INT}= 'DEFAULT'; exit;
Could you try out a minimal script like
If this shows the problematic behaviour, perl or your OS is the culprit. Otherwise you might search the source of Net::DNS::Nameserver whether it defines signal handlers.$SIG{INT}= 'handler'; sub handler { print "Got ctrl-Cd\n"; exit(0); } while (1) { sleep 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Nameserver exit problem
by ikegami (Patriarch) on Jul 21, 2008 at 03:17 UTC |