diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 20:23:45 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 20:23:45 +0000 |
commit | 1b1e520d728ae8f53b944322fcfddab929aad70f (patch) | |
tree | 314667a2bd7a916f9b24b4140c1ab1a8536c5c15 /chrome/installer | |
parent | 3a2dcf02f9bcfbb257bd8e59d9c5ac0e0ca06331 (diff) | |
download | chromium_src-1b1e520d728ae8f53b944322fcfddab929aad70f.zip chromium_src-1b1e520d728ae8f53b944322fcfddab929aad70f.tar.gz chromium_src-1b1e520d728ae8f53b944322fcfddab929aad70f.tar.bz2 |
Fix stupid mistake of forgetting negation in if condition.
BUG=8371
Review URL: http://codereview.chromium.org/39149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/setup/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/setup/main.cc b/chrome/installer/setup/main.cc index 672b1a1..fd2404a 100644 --- a/chrome/installer/setup/main.cc +++ b/chrome/installer/setup/main.cc @@ -326,7 +326,7 @@ bool CheckPreInstallConditions(const installer::Version* installed_version, // If no previous installation of Chrome, make sure installation directory // either does not exist or can be deleted (i.e. is not locked by some other // process). - if (installed_version) { + if (!installed_version) { std::wstring install_path(installer::GetChromeInstallPath(system_install)); if (file_util::PathExists(install_path) && !file_util::Delete(install_path, true)) { |