mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-07-28 16:13:38 +00:00
Ignore set_context() error if magisktmp is /sbin
recreate_sbin() will bind mount original files in /sbin to tmpfs /sbin, so we have no choice but just log here to let the loop continue.
This commit is contained in:
parent
690a5ac033
commit
810174ef73
@ -85,7 +85,7 @@ pub(crate) fn restore_tmpcon() -> LoggedResult<()> {
|
||||
while let Some(ref e) = dir.read()? {
|
||||
if !e.is_symlink() {
|
||||
e.resolve_path(&mut path)?;
|
||||
path.set_secontext(SYSTEM_CON)?;
|
||||
path.set_secontext(SYSTEM_CON).log_ok();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user