fix chsh exec condition