Skip to content
Snippets Groups Projects
Commit c4c8a356 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Comments and whitespace only

parent 57a797a6
No related branches found
No related tags found
No related merge requests found
...@@ -324,13 +324,12 @@ namespace ATxService ...@@ -324,13 +324,12 @@ namespace ATxService
// terminate the service process if necessary: // terminate the service process if necessary:
if (configInvalid) throw new Exception("Invalid config, check log file!"); if (configInvalid) throw new Exception("Invalid config, check log file!");
// now check the clean-shutdown status and send a notification if it was not true,
// check the clean-shutdown status and send a notification if it was not true,
// then set it to false while the service is running until it is properly // then set it to false while the service is running until it is properly
// shut down via the OnStop() method: // shut down via the OnStop() method:
if (_status.CleanShutdown == false) { if (_status.CleanShutdown == false) {
Log.Error("WARNING: {0} was not shut down properly last time!\n\nThis could " + Log.Error("WARNING: {0} was not shut down properly last time!\n\nThis could " +
"indicate the computer has crashed or was forcefully shut off.", ServiceName); "indicate the computer has crashed or was forcefully shut off.", ServiceName);
} }
_status.CleanShutdown = false; _status.CleanShutdown = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment