diff options
-rw-r--r-- | svr-chansession.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svr-chansession.c b/svr-chansession.c index 01612f4..ffc50de 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -92,6 +92,8 @@ static void sesssigchild_handler(int dummy) { chansess->exitsignal = WTERMSIG(status); #ifndef AIX chansess->exitcore = WCOREDUMP(status); +#else + chansess->exitcore = 0; #endif } else { /* we use this to determine how pid exited */ |