1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:48:13 +00:00

LibSQL: Don't do fchmod on FreeBSD

This commit is contained in:
nipos 2023-01-14 09:52:03 +01:00 committed by Andreas Kling
parent 7aebbe52b9
commit 5b45b26613

View file

@ -37,7 +37,7 @@ static ErrorOr<int> create_database_socket(DeprecatedString const& socket_path)
TRY(Core::System::fcntl(socket_fd, F_SETFD, FD_CLOEXEC));
# endif
# ifndef AK_OS_MACOS
# if !defined(AK_OS_MACOS) && !defined(AK_OS_FREEBSD)
TRY(Core::System::fchmod(socket_fd, 0600));
# endif