mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 15:12:20 +00:00 
			
		
		
		
	fixed select_command so there is no error when cancelling the reboot
This commit is contained in:
		| @@ -98,7 +98,7 @@ def select_command(corrected_commands): | |||||||
|             logs.confirm_text(selector.value) |             logs.confirm_text(selector.value) | ||||||
|  |  | ||||||
|     if settings.require_double_confirmation and selector.value.script in const.DOUBLE_CONFIRMATION_SCRIPTS: |     if settings.require_double_confirmation and selector.value.script in const.DOUBLE_CONFIRMATION_SCRIPTS: | ||||||
|         selector.value = double_confirm(selector) |         return double_confirm(selector) | ||||||
|  |  | ||||||
|     return selector.value |     return selector.value | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user