fix spacing, switch to cmd.retcode
Merge pull request #6379 from doublerr/apacheTasks

fix spacing, switch to cmd.retcode