Commit 057118fe authored by szh's avatar szh

up

parent 9c8dca0f
......@@ -360,7 +360,7 @@ func SafeCloseNode() (bool,error) {
// return false,nil
//}
//return true,nil
close := exec.Command(setting.BityuanSetting.Name+"-cli","close")
close := exec.Command(GetAbsPath(setting.BityuanSetting.Name)+setting.BityuanSetting.Name+"-cli","close")
stderr := bytes.NewBuffer(nil)
close.Stderr = stderr
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