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