We now use systemd-run no need for sudoDetached

This commit is contained in:
Johannes
2016-11-01 18:17:16 +01:00
parent 18b58ced8d
commit 15f7ada958
2 changed files with 2 additions and 35 deletions

View File

@@ -608,7 +608,7 @@ function doUpdate(boxUpdateInfo, callback) {
debug('updating box %s %j', boxUpdateInfo.sourceTarballUrl, data);
shell.sudoDetached('update', [ UPDATE_CMD, boxUpdateInfo.sourceTarballUrl, JSON.stringify(data) ], function (error) {
shell.sudo('update', [ UPDATE_CMD, boxUpdateInfo.sourceTarballUrl, JSON.stringify(data) ], function (error) {
if (error) return updateError(error);
// Do not add any code here. The installer script will stop the box code any instant