/* have to remove SIGABRT to avoid recursive - os_exit calling abort() */
unsetup_signal_handlers (SIGABRT);
- os_exit (1);
+ /* os_exit(1) causes core generation, do not do this for SIGINT */
+ if (signum == SIGINT)
+ os_exit (0);
+ else
+ os_exit (1);
}
else
clib_warning ("%s", syslog_msg);
(((uword) vm->heap_base) & ~(VLIB_FRAME_ALIGN - 1));
ASSERT (vm->heap_base);
+ clib_time_init (&vm->clib_time);
+
unformat_init_command_line (&input, (char **) vm->argv);
if ((e = vlib_plugin_config (vm, &input)))
{