mirror of https://github.com/jetkvm/kvm.git
Update native.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
156e5b78f8
commit
61c036757e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue