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

fix: return exitcode #1220

Merged
merged 6 commits into from
Sep 7, 2024
Merged

fix: return exitcode #1220

merged 6 commits into from
Sep 7, 2024

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Sep 2, 2024

rustic now returns an error code for failing command.

Note: Some command do not fail yet fail in every cases user would expect is. Most notably the check ckommand producing error messages may still return error code 0.

closes #927

src/application.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@nardoor nardoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm (see: #1220 (comment))

@aawsome aawsome added this pull request to the merge queue Sep 7, 2024
Merged via the queue into main with commit ffe05f5 Sep 7, 2024
25 checks passed
@aawsome aawsome deleted the fix-errorcode branch September 7, 2024 05:39
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.

Rustic returns exit code 0 when errors occur
2 participants