-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
scripts: streamline 'printf' usage and consequently use a format string #2564
Conversation
Converting this
to
does not work. All scripts already source docker-mailserver/target/scripts/helpers/log.sh Lines 3 to 8 in 49a337c
But not all colors are covered there + variable names refer to log stuff. I propose to:
If there is consensus, I'll take care of this in a separate PR and adjust this PR afterwards. |
Sounds very good to me - I’m all for it 👍🏼 |
Description
This PR streamlines the
printf
usage and consequently uses a format string. This (best) practice also avoids possible problems with strings containing special characters like%s
,\n
etc.Type of change
Checklist:
docs/
)