Fix "k --version" continues executing