mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
Module installs and actions run in a PTY through busybox script, which always exits with 0. The exit code of the command itself was lost, so a failed module install or action was shown as done, with a reboot button. Run the command in a subshell and have it write its exit code to a temporary file, then read it after the process exits. Assisted-by: Claude Opus 5.5