home: disable pid file on cli update
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / notify (push) Has been cancelled

This commit is contained in:
f.setrakov 2026-07-16 17:23:16 +03:00
parent c92198f15e
commit 615f0f8899

View file

@ -367,7 +367,7 @@ func initContextClients(
// setPIDFilePath writes the PID value to a file and returns its path, if the
// PID file option is specified.
func setPIDFilePath(opts options) (pidFilePath string) {
if opts.pidFile != "" && writePIDFile(opts.pidFile) {
if opts.pidFile != "" && !opts.performUpdate && writePIDFile(opts.pidFile) {
pidFilePath = opts.pidFile
}