diff options
Diffstat (limited to '')
-rw-r--r-- | src/PidFile.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PidFile.hxx b/src/PidFile.hxx index cd9c38d43..c06ed6b61 100644 --- a/src/PidFile.hxx +++ b/src/PidFile.hxx @@ -37,7 +37,7 @@ public: if (path.IsNull()) return; - file = FOpen(path, "w+"); + file = FOpen(path, "w"); if (file == nullptr) { const std::string utf8 = path.ToUTF8(); FormatFatalSystemError("Failed to create pid file \"%s\"", |