Skip to content

Commit

Permalink
Update cliconfig.go
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub authored Jan 24, 2024
1 parent 1aaf227 commit 38d4b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/library/config/cliconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func (c *CLIConfig) ParseConfig() {

// RunStartup manager启动时同时启动的服务
func (c *CLIConfig) RunStartup() {
c.ParseConfig()
c.Startup = strings.TrimSpace(c.Startup)
if len(c.Startup) < 1 || !IsInstalled() {
return
Expand All @@ -141,7 +142,6 @@ func (c *CLIConfig) RunStartup() {
if len(serverTypes) == 0 {
return
}
c.ParseConfig()
for _, serverType := range serverTypes {
serverType = strings.TrimSpace(serverType)
cm := cmder.Get(serverType)
Expand Down

0 comments on commit 38d4b9e

Please sign in to comment.