Fix warning message if the signal handler couldn't be set.