commit b87798e5fd84d93b197a1a1c8419e34b8e0bae17 Author: Nick Alexander nalexander@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);
tbb-commits@lists.torproject.org