Skip to content

Commit

Permalink
Merge pull request #299 from wayyoungboy/2.3.0-fix_exit_code
Browse files Browse the repository at this point in the history
fix exit code is always 1
  • Loading branch information
Teingi authored Jul 3, 2024
2 parents 4b21ad6 + aefa832 commit a0a72c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diag_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def do_command(self):
if self.has_trace:
ROOT_IO.print('Trace ID: %s' % trace_id)
ROOT_IO.print('If you want to view detailed obdiag logs, please run: {0} display-trace {1}'.format(obdiag_bin, trace_id))
return ret
return ret or True

def _do_command(self, obdiag):
raise NotImplementedError
Expand Down

0 comments on commit a0a72c8

Please sign in to comment.