mirror of
https://github.com/livekit/livekit.git
synced 2026-08-27 22:34:25 +00:00
Fix return code when no panics have occurred (#1589)
Actually fix #1513
This commit is contained in:
+3
-2
@@ -103,8 +103,9 @@ func init() {
|
||||
|
||||
func main() {
|
||||
defer func() {
|
||||
rtc.Recover(logger.GetLogger())
|
||||
os.Exit(1)
|
||||
if rtc.Recover(logger.GetLogger()) != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}()
|
||||
|
||||
generatedFlags, err := config.GenerateCLIFlags(baseFlags, true)
|
||||
|
||||
Reference in New Issue
Block a user