Skip confirm_selections if --force is used
This commit is contained in:
parent
c16e97e49a
commit
c66b2facbf
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ if __name__ == '__main__':
|
||||||
ufd_dev = verify_ufd(args['--ufd-device'])
|
ufd_dev = verify_ufd(args['--ufd-device'])
|
||||||
sources = verify_sources(args, UFD_SOURCES)
|
sources = verify_sources(args, UFD_SOURCES)
|
||||||
show_selections(args, sources, ufd_dev, UFD_SOURCES)
|
show_selections(args, sources, ufd_dev, UFD_SOURCES)
|
||||||
confirm_selections(args)
|
if not args['--force']:
|
||||||
|
confirm_selections(args)
|
||||||
|
|
||||||
# Format and partition device
|
# Format and partition device
|
||||||
if not args['--update']:
|
if not args['--update']:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue