Bugzilla – Bug 3582
globus-stop-container-detached exits with non-0 on successful exit
Last modified: 2005-07-28 14:14:55
You need to log in before you can comment on or make changes to this bug.
From the discuss list: ------------------------------------------------------------------- I've noticed that executables for starting and stopping globus container in GT4: globus-start-container-detached globus-stop-container-detached are returning 1 weather the call was successful or not. Example: [globus@grozd.srce globus]$ globus-stop-container-detached;echo $? Stopping Globus container. PID: 5959 Container stopped 1 [globus@grozd.srce globus]$ globus-stop-container-detached;echo $? Stopping Globus container. PID: 5959 Stopping container failed 1 Is there a version on cvs which returns correct exit status? ------------------------------------------------------------------- globus-start-container-detached has already been fixed, but globus-stop-container-detached still has the problem.
Created an attachment (id=659) [details] Fix for stop-detached Have to hold the fix because of 4.0.1 code freeze.
I committed the patch to trunk and globus_4_0_branch as it seems like a simple and useful change. The error code handling code is a little confusing to me and probably should be looked at, at some point (e.g. what's the reason for setting rc variable if it is not accessed anywhere?).