IS_BACKPORTSCONF: Quiet grep and better readability #52

Merged
benpro merged 1 commit from IS_BACKPORTSCONF-really-quiet-grep into master 2019-02-14 11:19:24 +01:00
Contributor

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.

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.
benpro self-assigned this 2019-02-12 12:40:50 +01:00
benpro added the
bug
enhancement
labels 2019-02-12 12:40:50 +01:00
Ghost approved these changes 2019-02-14 10:55:54 +01:00
benpro closed this pull request 2019-02-14 11:19:24 +01:00
benpro deleted branch IS_BACKPORTSCONF-really-quiet-grep 2019-02-14 11:19:28 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evocheck#52
No description provided.