mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
GODT-2111: Fix restart on macOS
This commit is contained in:
committed by
Leander Beernaert
parent
82788e39f0
commit
f954f89747
@ -72,7 +72,12 @@ func (restarter *Restarter) Restart() {
|
||||
env[BridgeCrashCount] = "0"
|
||||
}
|
||||
|
||||
cmd := execabs.Command(restarter.exe, xslices.Join(removeFlagWithValue(os.Args[1:], "parent-pid"), restarter.flags)...) //nolint:gosec
|
||||
//nolint:gosec
|
||||
cmd := execabs.Command(
|
||||
restarter.exe,
|
||||
xslices.Join(removeFlagWithValue(os.Args[1:], "parent-pid"), restarter.flags)...,
|
||||
)
|
||||
|
||||
l := logrus.WithFields(logrus.Fields{
|
||||
"exe": restarter.exe,
|
||||
"crashCount": env[BridgeCrashCount],
|
||||
|
||||
Reference in New Issue
Block a user