summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/setup/main.cc')
-rw-r--r--chrome/installer/setup/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/installer/setup/main.cc b/chrome/installer/setup/main.cc
index c88d289..9db35e0 100644
--- a/chrome/installer/setup/main.cc
+++ b/chrome/installer/setup/main.cc
@@ -546,7 +546,8 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
// then the dialog is shown and regardless of the outcome setup exits here.
if (parsed_command_line.HasSwitch(installer_util::switches::kShowEula)) {
installer_util::InstallStatus eula = ShowEULADialog();
- GoogleUpdateSettings::SetEULAConsent(installer_util::EULA_REJECTED != eula);
+ if (installer_util::EULA_REJECTED != eula)
+ GoogleUpdateSettings::SetEULAConsent(true);
return eula;
}