mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix: standard streams for new process and error message
This commit is contained in:
parent
bfba7ba2c2
commit
3859849bfb
1 changed files with 2 additions and 0 deletions
|
@ -270,5 +270,7 @@ func (u *Upgrader) PerformCoreUpgrade(tarPath string) (err error) {
|
|||
|
||||
// gracefully restart
|
||||
cmd := exec.Command(os.Args[0])
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
return cmd.Start()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue