diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-06-17 12:04:12 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-06-17 12:04:12 +0200 |
commit | 925afed1b90871a52fb19f0ee2cb99cd26a53bae (patch) | |
tree | be77dd198b7725a3709f2a387b3094b0bfcc547f /src/configreader.cpp | |
parent | cb43342a295c6ab01d3895dd4bf21af60b76adaa (diff) |
Don't exit on rehash if the pid file cannot be written
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |