Fix btrfs skip mount options (#2881)
This commit is contained in:
parent
f034c3693c
commit
594ca3504f
|
|
@ -266,10 +266,12 @@ def select_mount_options() -> list[str]:
|
||||||
columns=2,
|
columns=2,
|
||||||
orientation=Orientation.HORIZONTAL,
|
orientation=Orientation.HORIZONTAL,
|
||||||
search_enabled=False,
|
search_enabled=False,
|
||||||
allow_skip=False
|
allow_skip=True
|
||||||
).run()
|
).run()
|
||||||
|
|
||||||
match result.type_:
|
match result.type_:
|
||||||
|
case ResultType.Skip:
|
||||||
|
return []
|
||||||
case ResultType.Selection:
|
case ResultType.Selection:
|
||||||
return [result.get_value()]
|
return [result.get_value()]
|
||||||
case _:
|
case _:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue