From 925afed1b90871a52fb19f0ee2cb99cd26a53bae Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 17 Jun 2016 12:04:12 +0200 Subject: Don't exit on rehash if the pid file cannot be written --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 5b298ddd8..301db14e8 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -729,7 +729,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) // write once here, to try it out and make sure its ok if (valid) - ServerInstance->WritePID(this->PID); + ServerInstance->WritePID(this->PID, !old); if (old && valid) { -- cgit v1.3.1-10-gc9f91