rem: debug_dv("_____ RECEIVED SIGTERM _____"); if (signal_handler)
add: if (signal_handler)
context: static void got_term(int z){  if (!got_sigterm)    ncprint(NCPRINT_VERB1, _("Terminated."));#ifdef BETA_SIGHANDLER  got_sigterm = TRUE;  debug_dv("_____ RECEIVED SIGTERM _____");  if (signal_handler)    exit(EXIT_FAILURE);#else  exit(EXIT_FAILURE);#endif}