Explorar el Código

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

Kevin Bradley hace 3 años
padre
commit
0b6eab4729
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"