Can we use ctrl+c to stop a time consuming validate operation?

Hi,

Can we use ctrl+c to stop a time consuming validate operation?

BR,
Harry Huang

Yes, you will get an “Aborted: by user” response on the CLI.

Hi Waitai,

Which confd callback will be triggered by this Ctrl+c when validation point is being called?

BR,
Harry Huang

Hi,

register the init() and interrupt() transaction callbacks using confd_register_trans_cb() and handle the ctrl+c in the interrupt() callback.