mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-22 18:22:07 +00:00
LibSQL: Don't do fchmod on FreeBSD
This commit is contained in:
parent
7aebbe52b9
commit
5b45b26613
Notes:
sideshowbarker
2024-07-19 16:59:43 +09:00
Author: https://github.com/ghost
Commit: 5b45b26613
Pull-request: https://github.com/SerenityOS/serenity/pull/17007
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue