mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-08-04 15:28:58 +00:00
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
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:
parent
c92198f15e
commit
615f0f8899
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue