|
|
@ -67,7 +67,7 @@ func portOpen(serverName string, port string) bool { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func powerOnOracle() bool { |
|
|
func powerOnOracle() bool { |
|
|
cmd := exec.Command("./start_oracle.sh") |
|
|
cmd := exec.Command("bash", "-c", "./start_oracle.sh") |
|
|
err := cmd.Run() |
|
|
err := cmd.Run() |
|
|
if err == nil { |
|
|
if err == nil { |
|
|
return true |
|
|
return true |
|
|
|