Update native.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aveline 2025-06-20 14:07:08 +02:00 committed by GitHub
parent 156e5b78f8
commit 61c036757e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -283,10 +283,6 @@ func superviseNativeBinary(binaryPath string) error {
return restartNativeBinary(binaryPath) return restartNativeBinary(binaryPath)
} }
if nativeCmd.Process == nil {
return restartNativeBinary(binaryPath)
}
err := nativeCmd.Wait() err := nativeCmd.Wait()
if err == nil { if err == nil {