This reverts commit 567bac89 (bootstrap: use "grep -q" instead of output redirection, 2017-06-07). On Solaris `grep -q` does not exist.