Skip to content
Snippets Groups Projects
Commit acf2b748 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

knsupdate: previous parsing error no longer affects next commands

parent 66ca5b8c
1 merge request!1428Knsupdate with libedit
This commit is part of merge request !1428. Comments created here will be created in the context of that merge request.
......@@ -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",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment