소스 검색

LibSQL: Don't do fchmod on OpenBSD

nipos 2 년 전
부모
커밋
f15aa539be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Userland/Libraries/LibSQL/SQLClient.cpp

+ 1 - 1
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