mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 09:32:33 +00:00

ok_or will unconditionally creates a LoggedResult, which prints an error even it successes. Use ok_or_else which lazily creates a LoggedResult only if it fails.