mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
fix for AIX not having WCOREDUMP
--HG-- extra : convert_revision : 9a728aa6db6d1105267c377fa3d5448ee5f5a4ca
This commit is contained in:
parent
6ec8183750
commit
954a8dce0f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user