rem: if (signal(SIGTERM , sig_usr)  == SIG_ERR ) {
add: if (set_sig_h(SIGTERM , sig_usr)  == SIG_ERR ) {
context: int install_sigs(){	/* added by jku: add exit handler */	if (signal(SIGINT, sig_usr) == SIG_ERR ) {		DPrint("ERROR: no SIGINT signal handler can be installed\n");		goto error;	}	/* if we debug and write to a pipe, we want to exit nicely too */	if (signal(SIGPIPE, sig_usr) == SIG_ERR ) {		DPrint("ERROR: no SIGINT signal handler can be installed\n");		goto error;	}		if (signal(SIGUSR1, sig_usr)  == SIG_ERR ) {		DPrint("ERROR: no SIGUSR1 signal handler can be installed\n");		goto error;	}	if (signal(SIGCHLD , sig_usr)  == SIG_ERR ) {		DPrint("ERROR: no SIGCHLD signal handler can be installed\n");		goto error;	}	if (signal(SIGTERM , sig_usr)  == SIG_ERR ) {		DPrint("ERROR: no SIGTERM signal handler can be installed\n");		goto error;	}	if (signal(SIGHUP , sig_usr)  == SIG_ERR ) {		DPrint("ERROR: no SIGHUP signal handler can be installed\n");		goto error;	}	if (signal(SIGUSR2 , sig_usr)  == SIG_ERR ) {		DPrint("ERROR: no SIGUSR2 signal handler can be installed\n");		goto error;	}	return 0;error:	return -1;}