Describe the bug
Setting confirmOnQuit: true causes lazygit to briefly hang, then put out a message saying "cannot kill child process" before exiting.
This does not happen if the repo has any modified files. Only when the repo is "clean".
To Reproduce
Steps to reproduce the behavior:
- Install version 0.64 (latest)
- add
confirmOnQuit: true to config.yml
- open a clean repo
- type "q", hit "Enter" to confirm
- lazygit will pause a second or two, then print "cannot kill child process" before exiting
Expected behavior
No pause or spurious error message in step 5.
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
commit=v0.64.0, build date=2026-08-04T08:05:33Z, build source=binaryRelease, version=0.64.0, os=linux, arch=amd64, git version=2.55.0
Terminal info:
Manjaro XFCE4, xfce4-terminal
Describe the bug
Setting
confirmOnQuit: truecauses lazygit to briefly hang, then put out a message saying "cannot kill child process" before exiting.This does not happen if the repo has any modified files. Only when the repo is "clean".
To Reproduce
Steps to reproduce the behavior:
confirmOnQuit: trueto config.ymlExpected behavior
No pause or spurious error message in step 5.
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
commit=v0.64.0, build date=2026-08-04T08:05:33Z, build source=binaryRelease, version=0.64.0, os=linux, arch=amd64, git version=2.55.0
Terminal info:
Manjaro XFCE4, xfce4-terminal