changeset 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 8f26145a0997
children 29a5c7c62350
files svr-chansession.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 */