Browse Source

ChessEngine: Remove unused 'rpath' promise

bugreport0 3 năm trước cách đây
mục cha
commit
1d6ed50dd0
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      Userland/Services/ChessEngine/main.cpp

+ 1 - 2
Userland/Services/ChessEngine/main.cpp

@@ -12,9 +12,8 @@
 
 ErrorOr<int> serenity_main(Main::Arguments)
 {
-    TRY(Core::System::pledge("stdio recvfd sendfd unix rpath"));
-    Core::EventLoop loop;
     TRY(Core::System::pledge("stdio recvfd sendfd unix"));
+    Core::EventLoop loop;
     TRY(Core::System::unveil(nullptr, nullptr));
 
     auto engine = TRY(ChessEngine::try_create(Core::File::standard_input(), Core::File::standard_output()));