fix(cli): skip volume access during suppression previews

This commit is contained in:
2026-10-30 11:31:43 -03:00
parent 60ddbff5e2
commit 870ac48d02
3 changed files with 53 additions and 0 deletions
+8
View File
@@ -178,6 +178,10 @@ cmd_version() {
cmd_bypass() {
if is_recovery; then
if [ "$DRY_RUN" = true ]; then
full_bypass_mode "the selected Data volume"
return
fi
header "Full MDM Bypass"
local data_mount
data_mount=$(resolve_data_volume)
@@ -188,6 +192,10 @@ cmd_bypass() {
}
cmd_suppress() {
if [ "$DRY_RUN" = true ]; then
suppress_only_mode "the selected Data volume"
return
fi
header "Suppress Enrollment"
local data_mount
data_mount=$(resolve_data_volume)