returndrush_set_error('PROVISION_FILE_SYNC_FAILED',dt("Files could not be synced to remote server. Changes might not be available until this has been done. (error: %msg)",array("%msg"=>join("\n",drush_shell_exec_output()))));
drush_log(dt('@path has been synced to remote server.',array('@path'=>$path)));
}
else{
drush_log(dt('Files have been synced to remote server.'));
drush_set_error('PROVISION_FILE_SYNC_FAILED',dt('Files could not be synced to remote server. Changes might not be available until this has been done. (error: %msg)',array('@path'=>$path,'%msg'=>join("\n",drush_shell_exec_output()))));