Don't execute commands twice

Authored by dchan on Thu, Dec 7, 3:44 AM.