psi46 / elComandante

1 stars 5 forks source link

Bug with psi_agent not sending exit signal #9

Closed xerxes1986 closed 9 years ago

xerxes1986 commented 9 years ago

In addition to the "global" variable bug in the other issue I've created, we found that the "exitProg" function doesn't actually get called in the psiClient because it is looking for "PROG:EXIT" instead of just ":EXIT". Here is the git diff that fixes both of these changes:

diff --git a/psiClient/psi46master.py b/psiClient/psi46master.py index f659b2e..60f58db 100755 --- a/psiClient/psi46master.py +++ b/psiClient/psi46master.py @@ -170,6 +170,7 @@ def exitProg(): Logger << 'exit' # if not reduce(lambda x,y: x or y, [TB.busy for TB in TBmasters]):

piberger commented 9 years ago

Thanks for the fix, i will include it in the master branch together with the fix of the other issue.