mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-05-04 02:11:02 +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.