diff svr-chansession.c @ 83:6539c9480b23

fix for AIX not having WCOREDUMP
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Aug 2004 09:56:23 +0000
parents b0316ce64e4b
children b8e36c1a5520
line wrap: on
line diff
--- a/svr-chansession.c	Tue Aug 17 04:35:01 2004 +0000
+++ b/svr-chansession.c	Tue Aug 17 09:56:23 2004 +0000
@@ -92,6 +92,8 @@
 					chansess->exitsignal = WTERMSIG(status);
 #ifndef AIX
 					chansess->exitcore = WCOREDUMP(status);
+#else
+					chansess->exitcore = 0;
 #endif
 				} else {
 					/* we use this to determine how pid exited */