diff options
Diffstat (limited to 'lldb/examples/python')
| -rw-r--r-- | lldb/examples/python/cmdtemplate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/examples/python/cmdtemplate.py b/lldb/examples/python/cmdtemplate.py index eec1d371277..dc8e6b10664 100644 --- a/lldb/examples/python/cmdtemplate.py +++ b/lldb/examples/python/cmdtemplate.py @@ -38,6 +38,7 @@ def ls(debugger, command, result, dict): try: (options, args) = parser.parse_args(command_args) except: + result.SetStatus (lldb.eReturnStatusFailed) return for arg in args: |

