From 24244e8474fa6b8625d315c90dde5098b9fea87d Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 21 Nov 2022 12:24:05 -0600 Subject: [PATCH] Update AdminModule.cpp --- src/modules/AdminModule.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/AdminModule.cpp b/src/modules/AdminModule.cpp index 8176955c7..698738866 100644 --- a/src/modules/AdminModule.cpp +++ b/src/modules/AdminModule.cpp @@ -487,7 +487,10 @@ void AdminModule::reboot(int32_t seconds) void AdminModule::saveChanges(int saveWhat, bool shouldReboot) { if (!hasOpenEditTransaction) { + DEBUG_MSG("Saving changes to disk\n"); service.reloadConfig(saveWhat); // Calls saveToDisk among other things + } else { + DEBUG_MSG("Delaying save of changes to disk until the open transaction is committed\n"); } if (shouldReboot) {