Skip to content

Bug report: brew cask doctor should have return code != 0 in case of error #40198

@berndkrannich

Description

@berndkrannich

Description of issue

It would be nice if brew cask doctor could provide a return code != 0 in case it detects an error like the following:

==> Homebrew-Cask Staging Location
/usr/local/Caskroom (error: not writable by current user)

Currently, brew cask doctor seems to return 0 in any case, which makes it harder for scripts calling it to detect an error situation. In comparison, brew doctor works as expected, giving a return code != 0 in case of error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions