summaryrefslogtreecommitdiff
path: root/src/unix/PidFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@gmail.com>2016-08-15 22:25:15 +0200
committerMax Kellermann <max.kellermann@gmail.com>2016-08-15 22:25:15 +0200
commitea0e6d98248a5bc1a85e7707f3d69d0555011068 (patch)
treef788006e6657822e7c9960859e412315e4cbb7be /src/unix/PidFile.hxx
parent14d3da0e1822c315c1b7af0c013a9db4fa402ead (diff)
fs/FileSystem: RemoveFile() throws exception on error
Diffstat (limited to 'src/unix/PidFile.hxx')
-rw-r--r--src/unix/PidFile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/PidFile.hxx b/src/unix/PidFile.hxx
index d1d109fab..850b407b2 100644
--- a/src/unix/PidFile.hxx
+++ b/src/unix/PidFile.hxx
@@ -64,7 +64,7 @@ public:
assert(!path.IsNull());
close(fd);
- RemoveFile(path);
+ unlink(path.c_str());
}
void Write(pid_t pid) {