Skip to content

Commit

Permalink
fix CS-15432 Failed to detach VMware tools ISO after VMware tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sudison committed Jul 24, 2012
1 parent 71050bb commit 576d093
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,11 @@ protected Answer execute(AttachIsoCommand cmd) {
if (cmd.isAttach()) {
vmMo.mountToolsInstaller();
} else {
vmMo.unmountToolsInstaller();
try{
vmMo.unmountToolsInstaller();
}catch(Throwable e){
vmMo.detachIso(null);
}
}

return new Answer(cmd);
Expand Down

0 comments on commit 576d093

Please sign in to comment.