diff --git a/cfn_tail.py b/cfn_tail.py index 2359869..040b757 100755 --- a/cfn_tail.py +++ b/cfn_tail.py @@ -52,7 +52,7 @@ def get_sorted_cfn_stack_events(stack, latest_event=None, initial_events=10, con if not continuous: # Stack update failed - if stack.stack_status.endswith('_ROLLBACK_COMPLETE'): + if stack.stack_status.endswith('ROLLBACK_COMPLETE'): sys.exit(1) # Stack create/update succeeded elif stack.stack_status.endswith('_COMPLETE'):