diff --git a/gradle.properties b/gradle.properties index 8e3fcc573..3cae0ca57 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,6 +27,6 @@ android.injected.testOnly=false kapt.incremental.apt=true # Magisk -magisk.versionCode=21400 +magisk.versionCode=21401 magisk.ndkVersion=21d magisk.fullNdkVersion=21.3.6528147 diff --git a/native/jni/init/twostage.cpp b/native/jni/init/twostage.cpp index a6834e4bc..7afdff7b0 100644 --- a/native/jni/init/twostage.cpp +++ b/native/jni/init/twostage.cpp @@ -199,7 +199,7 @@ void SARInit::first_stage_prep() { restore_folder(ROOTOVL, overlays); // Ack and bail out! - write_int(sockfd, 0); + write_int(client, 0); close(client); close(sockfd);