sbsv2/raptor/util/talon/talon.c
branchfix
changeset 379 59ec73480ed3
parent 353 bb0bded637e9
child 407 bda21097164c
--- a/sbsv2/raptor/util/talon/talon.c	Tue Mar 16 17:04:21 2010 +0000
+++ b/sbsv2/raptor/util/talon/talon.c	Thu Mar 18 14:00:53 2010 +0000
@@ -586,7 +586,7 @@
 
 				if (p->returncode != 0)
 				{
-					char *exitstr = retries > 0 ? "retry" : "failed";
+					char *exitstr = force_success ? "failed" : retries > 0 ? "retry" : "failed";
 					snprintf(status, STATUS_STRMAX - 1, "\n<status exit='%s' code='%d' attempt='%d'%s%s />", exitstr, p->returncode, attempt, flagsstr, reasonstr );
 				} else {
 					snprintf(status, STATUS_STRMAX - 1, "\n<status exit='ok' attempt='%d'%s%s />", attempt, flagsstr, reasonstr );