Fix bash check for linux