diff options
author | nipos <ni.pos@yandex.com> | 2023-01-14 14:53:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-14 16:32:14 +0100 |
commit | f15aa539be22d87fa4bb65ff641e5ebae4027d91 (patch) | |
tree | 11926ad71bd887391c4820009db019f920037197 /Userland/Libraries/LibSQL/SQLClient.cpp | |
parent | b510747e22c34677977107bd91db79b074aba72b (diff) | |
download | serenity-f15aa539be22d87fa4bb65ff641e5ebae4027d91.zip |
LibSQL: Don't do fchmod on OpenBSD
Diffstat (limited to 'Userland/Libraries/LibSQL/SQLClient.cpp')
-rw-r--r-- | Userland/Libraries/LibSQL/SQLClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibSQL/SQLClient.cpp b/Userland/Libraries/LibSQL/SQLClient.cpp index 5e17a469a2..ab57af151d 100644 --- a/Userland/Libraries/LibSQL/SQLClient.cpp +++ b/Userland/Libraries/LibSQL/SQLClient.cpp @@ -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 -# if !defined(AK_OS_MACOS) && !defined(AK_OS_FREEBSD) +# if !defined(AK_OS_MACOS) && !defined(AK_OS_FREEBSD) && !defined(AK_OS_OPENBSD) TRY(Core::System::fchmod(socket_fd, 0600)); # endif |