diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-08-17 09:56:23 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-08-17 09:56:23 +0000 |
commit | 954a8dce0fdd5f4d16eeb5436e4a8659e91e1cbd (patch) | |
tree | 9153dc6b966605ea353d08741269438cb043d93c /svr-chansession.c | |
parent | 6ec818375005cfd1a6c0bb014cd3543364b16ae3 (diff) |
fix for AIX not having WCOREDUMP
--HG--
extra : convert_revision : 9a728aa6db6d1105267c377fa3d5448ee5f5a4ca
Diffstat (limited to 'svr-chansession.c')
-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 */ |