Fixed the returning of exit status code to grunt

The exit code from exec(commandToRun) requires explicit returning for Grunt to acknowledge its value.