Skip to content

Commit

Permalink
Return non-zero if rosdep check cannot locate dependent (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
SubaruArai authored Apr 16, 2024
1 parent ac4fc15 commit c20520e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rosdep2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,8 @@ def command_check(lookup, packages, options):
print('ERROR[%s]: %s' % (package_name, ex), file=sys.stderr)
if uninstalled:
return 1
elif errors:
return 2
else:
return 0

Expand Down

0 comments on commit c20520e

Please sign in to comment.