Fix bash check