diff --git a/src/utils/knsupdate/knsupdate_exec.c b/src/utils/knsupdate/knsupdate_exec.c index ff2ccfc4d41f5338ea2643da1fb72acb68a47f97..31a305447b8c3faeab7f1152750f3c969ecaf513 100644 --- a/src/utils/knsupdate/knsupdate_exec.c +++ b/src/utils/knsupdate/knsupdate_exec.c @@ -491,6 +491,7 @@ int knsupdate_process_line(const char *line, knsupdate_params_t *params) const char *cmd = knsupdate_cmd_array[ret]; const char *val = tok_skipspace(line + TOK_L(cmd)); + params->parser.error.counter = 0; /* Reset possible previous error. */ ret = cmd_handle[ret](val, params); if (ret != KNOT_EOK) { DBG("operation '%s' failed (%s) on line '%s'\n",