The outcome, reaching the goal, is more important than having the employees/troops/worker bees like you. If you can get everyone to pull together to reach the desired outcome then you're an effective leader.
Machiavelli posed the question, "Is it better for the Prince to be loved or feared?" The answer is...whatever it takes to get the job done.