=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/server.c,v retrieving revision 1.78 retrieving revision 1.79 diff -c -r1.78 -r1.79 *** src/usr.bin/tmux/server.c 2009/11/26 21:37:13 1.78 --- src/usr.bin/tmux/server.c 2009/12/02 15:06:14 1.79 *************** *** 1,4 **** ! /* $OpenBSD: server.c,v 1.78 2009/11/26 21:37:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: server.c,v 1.79 2009/12/02 15:06:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 431,437 **** } if (WIFSTOPPED(status)) server_child_stopped(pid, status); ! else if (WIFEXITED(status)) server_child_exited(pid, status); } } --- 431,437 ---- } if (WIFSTOPPED(status)) server_child_stopped(pid, status); ! else if (WIFEXITED(status) || WIFSIGNALED(status)) server_child_exited(pid, status); } }