Browse code

core: main - removed old unchanged compile ifndef condition

Daniel-Constantin Mierla authored on 02/12/2020 15:20:57
Showing 1 changed files
... ...
@@ -797,14 +797,12 @@ void handle_sigs(void)
797 797
 				break;
798 798
 			}
799 799
 
800
-#ifndef STOP_JIRIS_CHANGES
801 800
 			if (dont_fork) {
802 801
 				LM_INFO("dont_fork turned on, living on\n");
803 802
 				break;
804 803
 			}
805 804
 			LM_INFO("terminating due to SIGCHLD\n");
806
-#endif
807
-			LM_DBG("terminating due to SIGCHLD\n");
805
+
808 806
 			/* exit */
809 807
 			shutdown_children(SIGTERM, 1);
810 808
 			if (WIFSIGNALED(chld_status)) {
... ...
@@ -909,13 +907,9 @@ void sig_usr(int signo)
909 907
 #endif
910 908
 					break;
911 909
 			case SIGCHLD:
912
-#ifndef 			STOP_JIRIS_CHANGES
913 910
 #ifdef SIG_DEBUG /* signal unsafe stuff follows */
914 911
 					LM_DBG("SIGCHLD received: "
915 912
 						"we do not worry about grand-children\n");
916
-#endif
917
-#else
918
-					_exit(0); /* terminate if one child died */
919 913
 #endif
920 914
 					break;
921 915
 		}