mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Improve logging
This commit is contained in:
parent
17da727ac0
commit
d8ced7e4f0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func RestartNow() {
|
||||||
|
|
||||||
func automaticRestart(_ context.Context, _ *modules.Task) error {
|
func automaticRestart(_ context.Context, _ *modules.Task) error {
|
||||||
if restartTriggered.SetToIf(false, true) {
|
if restartTriggered.SetToIf(false, true) {
|
||||||
log.Info("updates: initiating automatic restart")
|
log.Info("updates: initiating (automatic) restart")
|
||||||
modules.SetExitStatusCode(RestartExitCode)
|
modules.SetExitStatusCode(RestartExitCode)
|
||||||
// Do not use a worker, as this would block itself here.
|
// Do not use a worker, as this would block itself here.
|
||||||
go modules.Shutdown() //nolint:errcheck
|
go modules.Shutdown() //nolint:errcheck
|
||||||
|
|
Loading…
Add table
Reference in a new issue