mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
exit 1 if startup fails
This commit is contained in:
parent
cbe0f79f73
commit
7f9445324d
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ Options:
|
|||
server, err := irc.NewServer(config, logman)
|
||||
if err != nil {
|
||||
logman.Error("server", fmt.Sprintf("Could not load server: %s", err.Error()))
|
||||
return
|
||||
os.Exit(1)
|
||||
}
|
||||
if !arguments["--quiet"].(bool) {
|
||||
logman.Info("server", "Server running")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue