Shell script ignoring / blocking signals

Andrew Wood andrewjameswood at
Fri May 13 19:49:08 UTC 2016

I have a shell script Ive written for running under the Bourne Shell
(/bin/sh) which sets up some signal handlers for SIGINT, SIGQUIT & SIGTERM.


If I run the script directly everything works fine, but if the script is run
from inside another shell script the signals are blocked (set to ignore) as
indicated by procstat.


Can someone please explain to me why this is happening and how I unblock




More information about the freebsd-questions mailing list