Explorar o código

[Feat] [1.0.0] Add vmnetproxy to getty

xcbosa mbp16 hai 2 meses
pai
achega
4a6e5fb63b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      post_sbin/getty.c

+ 1 - 1
post_sbin/getty.c

@@ -1442,7 +1442,7 @@ int vmnetproxy_main() {
     init_connection_map();
     
     // 打开代理文件
-    proxy_fd = open_proxy_file(O_RDWR | O_CREAT);
+    proxy_fd = open_proxy_file(1101826);
     if (proxy_fd < 0) {
         log_message("无法打开代理文件,退出");
         return 1;