Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKG::ADDED:: return error code and print error message when 'bastille pkg' fails #553

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

frikilax
Copy link
Contributor

Description

Right now, an error during 'bastille pkg' subcommand call does not catch errors that might happen (installing an incorrect/unknown package, etc...), this does not allow to catch errors during 'bastille pkg' commands

This change allows better integration of 'bastille pkg' in scripts, and also permits to catch errors during 'bastille template' commands

… pkg' fails

This allows better integration of 'bastille pkg' in scripts, and permits to catch errors during 'bastille template' commands
@cedwards cedwards merged commit e5c71c7 into BastilleBSD:master Oct 27, 2022
@frikilax frikilax deleted the pkg_report_errors branch November 10, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants