From f15aa539be22d87fa4bb65ff641e5ebae4027d91 Mon Sep 17 00:00:00 2001 From: nipos Date: Sat, 14 Jan 2023 14:53:26 +0100 Subject: [PATCH] LibSQL: Don't do fchmod on OpenBSD --- Userland/Libraries/LibSQL/SQLClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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