diff --git a/src/sage/libs/ecl.pyx b/src/sage/libs/ecl.pyx index 47fba67f503..31e16f354f5 100644 --- a/src/sage/libs/ecl.pyx +++ b/src/sage/libs/ecl.pyx @@ -264,7 +264,8 @@ def init_ecl(): #verify that no SIGCHLD handler was installed cdef Sigaction sig_test sigaction(SIGCHLD, NULL, &sig_test) - assert sig_test.sa_handler == NULL + assert sage_action[SIGCHLD].sa_handler == NULL # Sage does not set SIGCHLD handler + assert sig_test.sa_handler == NULL # And ECL bootup did not set one #and put the Sage signal handlers back for i in range(1,32):