Commit a7808a46 authored by szh's avatar szh

add path + /

parent 5a3ec693
...@@ -358,7 +358,7 @@ func SafeCloseNode() (bool,error) { ...@@ -358,7 +358,7 @@ func SafeCloseNode() (bool,error) {
// return false,nil // return false,nil
//} //}
//return true,nil //return true,nil
close := exec.Command(GetAbsPath(setting.BityuanSetting.Name)+setting.BityuanSetting.Name+"-cli","close") close := exec.Command(GetAbsPath(setting.BityuanSetting.Name)+"/"+setting.BityuanSetting.Name+"-cli","close")
stderr := bytes.NewBuffer(nil) stderr := bytes.NewBuffer(nil)
close.Stderr = stderr close.Stderr = stderr
err := close.Start() err := close.Start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment