IS_BACKPORTSCONF: Quiet grep and better readability #52
No reviewers
Labels
No labels
bug
bullseye
discussion
duplicate
enhancement
help wanted
invalid
question
suggestion
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: evolix/evocheck#52
Loading…
Reference in a new issue
No description provided.
Delete branch "IS_BACKPORTSCONF-really-quiet-grep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added
-s
to grep to not have error messages like:grep: /etc/apt/preferences.d/*: No such file or directory
And don't use
2>/dev/null
as there is-s
grep option!Added if condition for better readability of the code.