[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b87798e5fd84d93b197a1a1c8419e34b8e0bae17
Author: Nick Alexander <nalexander@xxxxxxxxxxx>
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);
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits