From ec4ffc0c2c269660c3e4a3ab2315d098e82bc676 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Dec 2013 13:14:10 -0800 Subject: Software update fetcher seems to work, going back to updater/installer itself. --- node/SoftwareUpdater.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/SoftwareUpdater.cpp') diff --git a/node/SoftwareUpdater.cpp b/node/SoftwareUpdater.cpp index 4cb2f7e4..c515d5db 100644 --- a/node/SoftwareUpdater.cpp +++ b/node/SoftwareUpdater.cpp @@ -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 -- cgit v1.2.3