Commit a6ee007e authored by Mike Hibler's avatar Mike Hibler
Browse files

On signals, do generate a kill event unless it is SIGTERM.

parent 8c2e94ed
/* /*
* EMULAB-COPYRIGHT * EMULAB-COPYRIGHT
* Copyright (c) 2000-2005 University of Utah and the Flux Group. * Copyright (c) 2000-2006 University of Utah and the Flux Group.
* All rights reserved. * All rights reserved.
*/ */
...@@ -420,7 +420,11 @@ void sigchld_handler(int sig) { ...@@ -420,7 +420,11 @@ void sigchld_handler(int sig) {
* this daemon. If that's the case, group_kill * this daemon. If that's the case, group_kill
* has already been sent. * has already been sent.
*/ */
info("Linktest killed by signal %d.\n", WTERMSIG(status)); sig = WTERMSIG(status);
info("Linktest killed by signal %d.\n", sig);
if (sig != SIGTERM)
exit_code = sig;
} else { } else {
/* /*
* Linktest is stopped unexpectedly. * Linktest is stopped unexpectedly.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment