fix: config

This commit is contained in:
icey-yu 2024-12-25 16:00:10 +08:00
parent bc09ca0f44
commit 1750ca896d

View File

@ -2,6 +2,7 @@ package etcd
import (
"context"
"fmt"
"os"
"os/exec"
"runtime"
@ -104,6 +105,7 @@ func restartServer(ctx context.Context) error {
if err != nil {
return errs.New("restart server fail").Wrap()
}
fmt.Println(cmd.String())
os.Exit(0)
return nil