Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up child processes more reliably
The current code didn't seem to clean up children on exit. Also, if there were no children to kill, the following error message showed up on the console: ./snc.sh: line 1: jobs: unbound variable This fixes both things by: - replacing TERM with EXIT - adding a check that 'jobs' is defined before trying to use it
- Loading branch information