From ea0e6d98248a5bc1a85e7707f3d69d0555011068 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Aug 2016 22:25:15 +0200 Subject: fs/FileSystem: RemoveFile() throws exception on error --- src/unix/PidFile.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unix/PidFile.hxx') 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) { -- cgit v1.2.3