Remove chmod (not the reason caused random crash))

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2021-02-23 05:57:56 +07:00
1 parent b0545019dc
commit dc215f9463
1 file changed
-4
-4
View File
@@ -59,10 +59,6 @@ int launchJVM(int argc, char *argv[]) {
setenv("LIBGL_NORMALIZE", "1", 1);
chdir("/var/mobile/Documents/minecraft");
if (chmod("/usr/lib/jvm/java-16-openjdk/bin/java", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == -1) {
debug("Warning: chmod +x java failed");
}
char classpath[10000];