From d310efc2642d7bb03f4cb5dfe2776275af1c0506 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 26 Mar 2017 18:47:42 -0700 Subject: [PATCH] client: parse njobs_error in state file (don't lose info on transition) --- client/project.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/project.cpp b/client/project.cpp index e83e2192f1..5dea2cab40 100644 --- a/client/project.cpp +++ b/client/project.cpp @@ -326,6 +326,8 @@ int PROJECT::parse_state(XML_PARSER& xp) { if (xp.parse_double("desired_disk_usage", desired_disk_usage)) continue; if (xp.parse_int("njobs_success", njobs_success)) continue; if (xp.parse_int("njobs_fail", njobs_fail)) continue; + if (xp.parse_int("njobs_error", njobs_fail)) continue; + // handle pre-7.7 state files if (xp.parse_double("elapsed_time", elapsed_time)) continue; if (xp.parse_double("last_rpc_time", last_rpc_time)) continue; if (xp.parse_double("cpu_ec", cpu_ec)) continue;