-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dnf5: Refactor scriptlet output printing
- In case of an error, do not print the "Stop scriptlet" message, as it's redundant and always followed by the "Error in scriptlet" message. - For better code clarity, concentrate all scriptlet status printing in the `script_stop()` callback, leaving `script_error()` empty. - Drop the "return code XX" part of the message. The return code is only used to distinguish between success, non-critical errors, and fatal errors, which are already indicated by the existing messages. - Even successful scriptlet executions may produce important output. Always forward the scriptlet output to the user.
- Loading branch information
Showing
1 changed file
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters