Files
Magisk/app
topjohnwu a2f1a7a8fc app: report real exit codes of terminal commands
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
2026-10-24 13:01:45 -07:00
..
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00