udiskie: Also list read-only filesystems

In case the media contains a read-only copy of a backup and we need to restore
from it.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2018-07-29 15:57:37 -04:00
1 parent cdf07a92b4
commit e420520e8e
1 file changed
+1 -2
+1 -2
View File
@@ -47,8 +47,7 @@ def list_devices():
block = obj.get_block()
if block.props.id_usage != 'filesystem' or \
block.props.hint_system or \
block.props.read_only:
block.props.hint_system:
continue
device_name = block.props.device