Fixed: [Is there an error with plugin's ca_interrupt setting ? #173](https://github.com/clicon/clixon/issues/173)

This commit is contained in:
Olof hagsand 2021-02-15 12:54:09 +01:00
parent d1e5599572
commit a129756c6c
2 changed files with 2 additions and 1 deletions

View file

@ -460,7 +460,7 @@ cli_syntax_load(clicon_handle h)
if (cli_susp_hook(h, fns) < 0)
goto done;
if (fni==NULL && (fni = cp->cp_api.ca_interrupt) != NULL)
if (cli_susp_hook(h, fns) < 0)
if (cli_interrupt_hook(h, fni) < 0)
goto done;
}