do not force exit to let all services shutdown gracefully

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-07-24 14:02:52 +02:00
parent 9d1515e8fc
commit 7999e2969b
35 changed files with 0 additions and 51 deletions
-2
View File
@@ -3,7 +3,6 @@ package command
import (
"context"
"fmt"
"os"
"github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/events/stream"
@@ -113,7 +112,6 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Shutting down server")
cancel()
os.Exit(1)
})
}