diff options
author | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-05-12 16:34:13 -0400 |
commit | f43972d665c95b2148636c86a5b648e719901101 (patch) | |
tree | b873b15f50a981aacf8bb49fd646bfded2e7a73b /zen/shutdown.cpp | |
parent | Merge branch '10.11' into 'master' (diff) | |
download | FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.gz FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.bz2 FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.zip |
10.12
Diffstat (limited to 'zen/shutdown.cpp')
-rw-r--r-- | zen/shutdown.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/shutdown.cpp b/zen/shutdown.cpp index aecd4121..4fc687d6 100644 --- a/zen/shutdown.cpp +++ b/zen/shutdown.cpp @@ -18,7 +18,7 @@ void zen::shutdownSystem() //throw FileError //https://linux.die.net/man/2/reboot => needs admin rights! //"systemctl" should work without admin rights: - shellExecute("systemctl poweroff", ExecutionType::SYNC); //throw FileError + shellExecute("systemctl poweroff", ExecutionType::SYNC, false/*hideConsole*/); //throw FileError } @@ -26,7 +26,7 @@ void zen::shutdownSystem() //throw FileError void zen::suspendSystem() //throw FileError { //"systemctl" should work without admin rights: - shellExecute("systemctl suspend", ExecutionType::SYNC); //throw FileError + shellExecute("systemctl suspend", ExecutionType::SYNC, false/*hideConsole*/); //throw FileError } |