mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
GODT-2111: Properly reset crash counter + remove additional Quit call.
This commit is contained in:
@ -69,7 +69,7 @@ func (restarter *Restarter) Restart() {
|
||||
if restarter.crash {
|
||||
env[BridgeCrashCount] = increment(env[BridgeCrashCount])
|
||||
} else {
|
||||
delete(env, BridgeCrashCount)
|
||||
env[BridgeCrashCount] = "0"
|
||||
}
|
||||
|
||||
cmd := execabs.Command(restarter.exe, xslices.Join(removeFlagWithValue(os.Args[1:], "parent-pid"), restarter.flags)...) //nolint:gosec
|
||||
|
||||
Reference in New Issue
Block a user