Răsfoiți Sursa

CTS: remove dead code in sam_test_agent

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld 14 ani în urmă
părinte
comite
ec771a9a9a
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      cts/agents/sam_test_agent.c

+ 0 - 4
cts/agents/sam_test_agent.c

@@ -1297,10 +1297,6 @@ static int test9 (pid_t pid, pid_t old_pid, int test_n) {
 
 		if (instance_id == 3) {
 			syslog (LOG_INFO, "%s iid %d: mark failed\n", __FUNCTION__, instance_id);
-			if (err != CS_OK) {
-				syslog (LOG_ERR, "Can't start hc. Error %d\n", err);
-				return 2;
-			}
 			err = sam_mark_failed ();
 			if (err != CS_OK) {
 				syslog (LOG_ERR, "Can't mark failed. Error %d\n", err);