Show list of authorized fstypes with error

This commit is contained in:
2Shirt 2018-07-18 22:17:32 -06:00
parent 19dcc87950
commit 646e1a3764
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -123,6 +123,9 @@ def dest_safety_check(source, dest):
print_error(
'Destination filesystem "{}" is not a recommended type.'.format(
dest['Filesystem']))
print_info('Authorized types are: {}'.format(
' / '.join(AUTHORIZED_DEST_FSTYPES).upper()))
print_standard(' ')
if not ask('Proceed anyways? (Strongly discouraged)'):
abort_ddrescue_tui()
# Read-Write access