Software update fetcher seems to work, going back to updater/installer itself.

This commit is contained in:
Adam Ierymenko 2013-12-11 13:14:10 -08:00
parent a22a3ed7e8
commit ec4ffc0c2c
3 changed files with 11 additions and 1 deletions

View file

@ -176,6 +176,8 @@ void SoftwareUpdater::_cbHandleGetLatestVersionBinary(void *arg,int code,const s
::close(fd);
::chmod(updatePath.c_str(),0755);
upd->_status = UPDATE_STATUS_IDLE;
_r->node->terminate(Node::NODE_RESTART_FOR_UPGRADE,updatePath.c_str());
#endif