Skip to content

Commit

Permalink
Add missing force remount condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mlw committed Nov 2, 2023
1 parent e24e1dd commit d441f95
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ - (void)performStartupTasks:(SNTDeviceManagerStartupPreferences)startupPrefs {
continue;
}

if (startupPrefs == SNTDeviceManagerStartupPreferencesRemount) {
if (startupPrefs == SNTDeviceManagerStartupPreferencesRemount ||
startupPrefs == SNTDeviceManagerStartupPreferencesForceRemount) {
uint32_t newMode = sfs->f_flags | mountArgsToMask(self.remountArgs);
LOGI(@"Attempting to mount device again changing flags: 0x%08x --> 0x%08x", sfs->f_flags,
newMode);
Expand Down

0 comments on commit d441f95

Please sign in to comment.