Improve broken shell warning.