Przeglądaj źródła

update system patch script to have prefix on /bin/sh

Kevin Bradley 3 lat temu
rodzic
commit
0b6eab4729
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      the_memo2.sh

+ 1 - 1
the_memo2.sh

@@ -439,7 +439,7 @@ fixSystem() {
     echo '    char *rawCmd = fixedCmd(cmd);' >> "$FILE"
     echo '    char *argv[] = {"sh", "-c", (char*)rawCmd, NULL};' >> "$FILE"
     echo '    int status;' >> "$FILE"
-    echo '    status = posix_spawn(&pid, "/bin/sh", NULL, NULL, argv, environ);' >> "$FILE"
+    echo '    status = posix_spawn(&pid, "/fs/jb/bin/sh", NULL, NULL, argv, environ);' >> "$FILE"
     echo '    if (status == 0) {' >> "$FILE"
     echo '        if (waitpid(pid, &status, 0) == -1) {' >> "$FILE"
     echo '            perror("waitpid");' >> "$FILE"