doctor: harden corruption repair and JSONL config

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
Jordan Hubbard
2025-12-26 04:29:29 -04:00
parent b089aaa0d6
commit 1a4f06ef8c
17 changed files with 264 additions and 80 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ package fix
import (
"fmt"
"os"
"os/exec"
"path/filepath"
)
@@ -36,7 +35,7 @@ func Daemon(path string) error {
}
// Run bd daemons killall to clean up stale daemons
cmd := exec.Command(bdBinary, "daemons", "killall") // #nosec G204 -- bdBinary from validated executable path
cmd := newBdCmd(bdBinary, "daemons", "killall")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr