mirror of
https://gitee.com/goploy/goploy.git
synced 2024-11-30 03:07:59 +08:00
U add output
This commit is contained in:
parent
e0f09ff0f1
commit
8ee1795801
@ -304,7 +304,7 @@ func (gsync Gsync) runAfterPullScript() (string, error) {
|
||||
handler.Dir = srcPath
|
||||
|
||||
if output, err := handler.CombinedOutput(); err != nil {
|
||||
return "", err
|
||||
return string(output), err
|
||||
} else {
|
||||
_ = os.Remove(scriptFullName)
|
||||
return string(output), nil
|
||||
|
Loading…
Reference in New Issue
Block a user