diff -r 698b9b7141d7 -r 824dddcc66f7 sbsv2/raptor/util/talon/talon.c
--- a/sbsv2/raptor/util/talon/talon.c Fri Mar 26 12:06:09 2010 +0000
+++ b/sbsv2/raptor/util/talon/talon.c Mon Mar 29 08:28:16 2010 +0100
@@ -586,7 +586,7 @@
if (p->returncode != 0)
{
- char *exitstr = force_success ? "failed" : retries > 0 ? "retry" : "failed";
+ char *exitstr = (force_success || retries <= 0) ? "failed" : "retry";
snprintf(status, STATUS_STRMAX - 1, "\n", exitstr, p->returncode, attempt, flagsstr, reasonstr );
} else {
snprintf(status, STATUS_STRMAX - 1, "\n", attempt, flagsstr, reasonstr );