From e633aa78e9e9dab9e24e235f6328fd4e8f13c949 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Mon, 4 Aug 2025 07:44:42 +0200 Subject: [PATCH] Change preventing reconnect from SIGABRT to SIGHUP. SIGABRT is used on panic in ffmpeg --- process/process.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/process.go b/process/process.go index a38c8a24..1fc8ae13 100644 --- a/process/process.go +++ b/process/process.go @@ -1031,10 +1031,10 @@ func (p *process) waiter() { "status": status.ExitStatus(), "exit_code": exiterr.ExitCode(), "exit_string": exiterr.String(), - "signal": status.Signal().String(), + "signal": int(status.Signal()), }).Debug().Log("Exited") - if int(status.Signal()) == 6 { // If ffmpeg has been killed with SIGABRT, it will disable a reconnect. + if int(status.Signal()) == 1 { // If ffmpeg has been killed with SIGHUP, it will disable a reconnect. enableReconnect = false }