diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2016-08-15 22:25:15 +0200 |
---|---|---|
committer | Max Kellermann <max.kellermann@gmail.com> | 2016-08-15 22:25:15 +0200 |
commit | ea0e6d98248a5bc1a85e7707f3d69d0555011068 (patch) | |
tree | f788006e6657822e7c9960859e412315e4cbb7be /src/event | |
parent | 14d3da0e1822c315c1b7af0c013a9db4fa402ead (diff) |
fs/FileSystem: RemoveFile() throws exception on error
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/ServerSocket.cxx | 2 |
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()); |