[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b4-27-g9882227

Service Account noreply at mpich.org
Wed Jul 29 20:44:31 CDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  9882227414439a4a79edd49ec10261742bb60108 (commit)
      from  8833a375f6685898e29ee12be743c6e348d63b15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/9882227414439a4a79edd49ec10261742bb60108

commit 9882227414439a4a79edd49ec10261742bb60108
Author: Pavan Balaji <balaji at anl.gov>
Date:   Wed Jul 29 19:59:28 2015 -0500

    A non-zero exit code is not an error.
    
    Signed-off-by: Halim Amer <aamer at anl.gov>

diff --git a/src/pm/hydra/pm/pmiserv/pmiserv_cb.c b/src/pm/hydra/pm/pmiserv/pmiserv_cb.c
index 28007fa..f5dbec2 100644
--- a/src/pm/hydra/pm/pmiserv/pmiserv_cb.c
+++ b/src/pm/hydra/pm/pmiserv/pmiserv_cb.c
@@ -235,12 +235,11 @@ static HYD_status control_cb(int fd, HYD_event_t events, void *userp)
         status = cleanup_proxy(proxy);
         HYDU_ERR_POP(status, "error cleaning up proxy connection\n");
 
-        /* If any of the processes was killed with a signal or if it
-         * returned with a bad exit code, cleanup the remaining
-         * processes */
+        /* If any of the processes was killed with a signal, cleanup
+         * the remaining processes */
         if (HYD_server_info.user_global.auto_cleanup) {
             for (i = 0; i < proxy->proxy_process_count; i++) {
-                if (!WIFEXITED(proxy->exit_status[i]) || WEXITSTATUS(proxy->exit_status[i])) {
+                if (!WIFEXITED(proxy->exit_status[i])) {
                     int code = proxy->exit_status[i];
                     /* show the value passed to exit(), not (val<<8) */
                     if (WIFEXITED(proxy->exit_status[i]))

-----------------------------------------------------------------------

Summary of changes:
 src/pm/hydra/pm/pmiserv/pmiserv_cb.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list