Fix broctl exit status for capstats command

Fixed the broctl capstats command to report a non-zero exit status
when an error is encountered.