summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 23:33:56 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 23:33:56 +0000
commit7fe358462219dbcdd0e89011d0d5cb457ac2016a (patch)
tree9d6c6c8fac1e7a82c2351c7b906127b0845258b0 /chrome/installer
parentf986206c8b2c1abaee5d9ce5fe26e72f14e5c0e4 (diff)
downloadchromium_src-7fe358462219dbcdd0e89011d0d5cb457ac2016a.zip
chromium_src-7fe358462219dbcdd0e89011d0d5cb457ac2016a.tar.gz
chromium_src-7fe358462219dbcdd0e89011d0d5cb457ac2016a.tar.bz2
Try to cleanup temporary directories created during install operations.
BUG=18635 Review URL: http://codereview.chromium.org/174418 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/setup/setup_main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 676a219..266992f 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -394,6 +394,7 @@ bool HandleNonInstallCmdLineOptions(const CommandLine& cmd_line,
InstallUtil::WriteInstallerResult(system_install, status,
IDS_SETUP_PATCH_FAILED_BASE, NULL);
}
+ file_util::Delete(temp_path, true);
return true;
} else if (cmd_line.HasSwitch(installer_util::switches::kShowEula)) {
// Check if we need to show the EULA. If it is passed as a command line