|
|
@@ -63,7 +63,11 @@ func runch(filename string) {
|
|
|
}
|
|
|
fmt.Printf("update out:\n%s\n", string(out))
|
|
|
} else {
|
|
|
- _ = exec.Command("sh", "./update.sh").Run()
|
|
|
+ cmd := exec.Command("sh", "./update.sh")
|
|
|
+ out, err := cmd.CombinedOutput()
|
|
|
+ if err != nil {
|
|
|
+ fmt.Printf("update out:\n%s\n", string(out))
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|