Commit 08132c6f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Failing -I <file> processing should be ARGV_ERR()

parent a33ea401
......@@ -349,9 +349,8 @@ mgt_cli_cb_after(const struct cli *cli)
cli->ident, cli->result, VSB_data(cli->sb));
if (cli->priv == stderr &&
cli->result != CLIS_OK && *VSB_data(cli->cmd) != '-') {
MGT_Complain(C_ERR, "-I file CLI command failed (%d)\n%s\n",
ARGV_ERR("-I file CLI command failed (%d)\n%s\n",
cli->result, VSB_data(cli->sb));
exit(2);
}
}
......
Markdown is supported
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