kiss: Ensure grep is always set

This commit is contained in:
Dylan Araps 2020-01-14 12:10:13 +02:00
parent 3c251759bb
commit ab46222e56
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -1091,7 +1091,7 @@ main() {
# Prefer GNU grep if installed as it is much much faster than busybox's
# implementation. Very much worth it if you value performance over
# POSIX correctness.
grep=$(command -v ggrep 2>/dev/null) || grep='grep'
grep=$(command -v ggrep 2>/dev/null) || grep='grep'; : "${grep:=grep}"
# This allows for automatic setup of a KISS chroot and will
# do nothing on a normal system.