[tbb-commits] [tor-browser/tor-browser-91.2.0esr-11.0-1] Bug 1728536 - Fix compilation error with `--disable-maintenance-service`. r?#application-update-reviewers

sysrqb at torproject.org sysrqb at torproject.org
Wed Oct 6 22:11:06 UTC 2021


commit ebc9d98f7fcb7bfa84a9f6ef502cf261998a04b7
Author: Nick Alexander <nalexander at mozilla.com>
Date:   Mon Sep 27 17:10:27 2021 +0000

    Bug 1728536 - Fix compilation error with `--disable-maintenance-service`. r?#application-update-reviewers
    
    This was a regression from Bug 1658711.
    
    Differential Revision: https://phabricator.services.mozilla.com/D126715
---
 toolkit/mozapps/update/updater/updater.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toolkit/mozapps/update/updater/updater.cpp b/toolkit/mozapps/update/updater/updater.cpp
index ddbcdf5cc22a..68d7186bbc4b 100644
--- a/toolkit/mozapps/update/updater/updater.cpp
+++ b/toolkit/mozapps/update/updater/updater.cpp
@@ -3679,6 +3679,7 @@ int NS_main(int argc, NS_tchar** argv) {
 #  endif
       }
 
+#  ifdef MOZ_MAINTENANCE_SERVICE
       // If we started the elevated updater, and it finished, check the secure
       // update status file to make sure that it succeeded, and if it did we
       // need to launch the PostUpdate process in the unelevated updater which
@@ -3696,6 +3697,7 @@ int NS_main(int argc, NS_tchar** argv) {
           }
         }
       }
+#  endif
 
       CloseHandle(elevatedFileHandle);
 



More information about the tbb-commits mailing list