int
cmd_exit (void)
{
- if (getl_reading_script)
+ if (getl_reading_script())
{
msg (SE, _("This command is not accepted in a syntax file. "
"Instead, use FINISH to terminate a syntax file."));
execl (shell_fn, shell_process, NULL);
- err_hcf (1);
+ _exit (1);
}
case -1: