Fixing boot2docker call in removeBindFolder

This commit is contained in:
Jeff Morgan 2014-09-10 23:42:59 -07:00
parent fff85a1d94
commit e3e1380ffa
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ Docker.removeImage = function (imageId, callback) {
}; };
Docker.removeBindFolder = function (name, callback) { Docker.removeBindFolder = function (name, callback) {
exec(path.join(Util.getBinDir(), 'boot2docker') + ' ssh "sudo rm -rf /var/lib/docker/binds/' + name + '"', function (err, stdout) { exec(Boot2Docker.command() + ' ssh "sudo rm -rf /var/lib/docker/binds/' + name + '"', function (err, stdout) {
callback(err, stdout); callback(err, stdout);
}); });
}; };