Fix always success logic

Prior to this commit success message always showed up even if
the exit code of kill was greater then zero