When named failed to start and produced core dump, the core file wasn't processed by GDB because of run.sh script exiting immediately. This remedies the limitation, simplifies the surrounding code, and makes the script shellcheck clean.