summaryrefslogtreecommitdiff
path: root/src/event
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/event
parent14d3da0e1822c315c1b7af0c013a9db4fa402ead (diff)
fs/FileSystem: RemoveFile() throws exception on error
Diffstat (limited to 'src/event')
-rw-r--r--src/event/ServerSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx
index 608ee65e2..3f34a5736 100644
--- a/src/event/ServerSocket.cxx
+++ b/src/event/ServerSocket.cxx
@@ -426,7 +426,7 @@ ServerSocket::AddPath(AllocatedPath &&path, Error &error)
#ifdef HAVE_UN
(void)error;
- RemoveFile(path);
+ unlink(path.c_str());
AllocatedSocketAddress address;
address.SetLocal(path.c_str());