diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index f66971252..7bcfbad97 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -1795,10 +1795,6 @@ openim::util::stop_services_on_ports() { return 0 fi } -# nc -l -p 12345 -# nc -l -p 123456 -# ps -ef | grep "nc -l" -# openim::util::stop_services_on_ports 1234 12345 # The `openim::util::stop_services_with_name` function stops services with specified names. diff --git a/tools/component/component.go b/tools/component/component.go index 0532030ff..6893ebf2c 100644 --- a/tools/component/component.go +++ b/tools/component/component.go @@ -77,7 +77,7 @@ func main() { err = configGetEnv(conf) if err != nil { - fmt.Printf("configGetEnv failed,err:%v", err) + fmt.Printf("configGetEnv failed, err:%v", err) return }