From 5474f72c98a1cc701b220ff594c2bc22f419f4a8 Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Wed, 1 Jun 2022 07:54:41 +0000 Subject: [PATCH] Shell --- examples/chef/stateful_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chef/stateful_shell.py b/examples/chef/stateful_shell.py index 20615796c88ae4..54faed206b7e80 100644 --- a/examples/chef/stateful_shell.py +++ b/examples/chef/stateful_shell.py @@ -61,7 +61,7 @@ def print_env(self) -> None: def run_cmd( self, cmd: str, *, - raise_on_returncode=False, + raise_on_returncode=True, return_cmd_output=False, ) -> Optional[str]: """Runs a command and updates environment.