Check the return value of kill. This means that the test can now detect the case when a program no longer exists (due to a crash) or when a program responds badly to a SIGTERM and doesn't clean up the pid file.
Check the return value of kill. This means that the test can now detect the case when a program no longer exists (due to a crash) or when a program responds badly to a SIGTERM and doesn't clean up the pid file.