@@ -109,7 +109,7 @@ impl MagiskD {
109
109
let secure_dir = FsPath :: from ( cstr ! ( SECURE_DIR ) ) ;
110
110
if !secure_dir. exists ( ) {
111
111
if self . sdk_int < 24 {
112
- secure_dir. mkdir ( 0o700 ) . log ( ) . ok ( ) ;
112
+ secure_dir. mkdir ( 0o700 ) . log_ok ( ) ;
113
113
} else {
114
114
error ! ( "* {} is not present, abort" , SECURE_DIR ) ;
115
115
return true ;
@@ -137,7 +137,7 @@ impl MagiskD {
137
137
info ! ( "* Safe mode triggered" ) ;
138
138
// Disable all modules and zygisk so next boot will be clean
139
139
disable_modules ( ) ;
140
- self . set_db_setting ( DbEntryKey :: ZygiskConfig , 0 ) . log ( ) . ok ( ) ;
140
+ self . set_db_setting ( DbEntryKey :: ZygiskConfig , 0 ) . log_ok ( ) ;
141
141
return true ;
142
142
}
143
143
@@ -169,12 +169,12 @@ impl MagiskD {
169
169
info ! ( "** boot-complete triggered" ) ;
170
170
171
171
// Reset the bootloop counter once we have boot-complete
172
- self . set_db_setting ( DbEntryKey :: BootloopCount , 0 ) . log ( ) . ok ( ) ;
172
+ self . set_db_setting ( DbEntryKey :: BootloopCount , 0 ) . log_ok ( ) ;
173
173
174
174
// At this point it's safe to create the folder
175
175
let secure_dir = FsPath :: from ( cstr ! ( SECURE_DIR ) ) ;
176
176
if !secure_dir. exists ( ) {
177
- secure_dir. mkdir ( 0o700 ) . log ( ) . ok ( ) ;
177
+ secure_dir. mkdir ( 0o700 ) . log_ok ( ) ;
178
178
}
179
179
180
180
self . ensure_manager ( ) ;
0 commit comments