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.