summaryrefslogtreecommitdiff
path: root/zen/shutdown.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-05-22 17:03:17 -0400
committerB. Stack <bgstack15@gmail.com>2022-05-22 17:03:17 -0400
commit2c81be72eef5363736cf1892646c74a3311ee4c1 (patch)
tree3894ba7e10c78750c195381a861da5e8166a6bfd /zen/shutdown.cpp
parentMerge branch 'b11.20' into 'master' (diff)
downloadFreeFileSync-2c81be72eef5363736cf1892646c74a3311ee4c1.tar.gz
FreeFileSync-2c81be72eef5363736cf1892646c74a3311ee4c1.tar.bz2
FreeFileSync-2c81be72eef5363736cf1892646c74a3311ee4c1.zip
add upstream 11.21b11.21
Diffstat (limited to 'zen/shutdown.cpp')
-rw-r--r--zen/shutdown.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/shutdown.cpp b/zen/shutdown.cpp
index a812d6ae..e64e1e70 100644
--- a/zen/shutdown.cpp
+++ b/zen/shutdown.cpp
@@ -16,9 +16,9 @@ using namespace zen;
void zen::shutdownSystem() //throw FileError
{
- assert(runningOnMainThread());
- if (runningOnMainThread())
- onSystemShutdownRunTasks();
+ assert(runningOnMainThread());
+ if (runningOnMainThread())
+ onSystemShutdownRunTasks();
try
{
//https://linux.die.net/man/2/reboot => needs admin rights!
bgstack15