Try case statement for kinit rather than if/fi