diff options
author | mhmdanas <triallax@tutanota.com> | 2023-03-23 15:07:40 +0000 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-03-23 17:34:00 +0100 |
commit | a7e8c3b085b64397f00a7c0baf2370f9b5a930b0 (patch) | |
tree | ed93cc858033f976a524273f5045fcc14054e584 | |
parent | d957f7cf9359b426d5b0338bcdd1c778f6e06780 (diff) | |
download | xtools-a7e8c3b085b64397f00a7c0baf2370f9b5a930b0.tar.gz xtools-a7e8c3b085b64397f00a7c0baf2370f9b5a930b0.tar.xz xtools-a7e8c3b085b64397f00a7c0baf2370f9b5a930b0.zip |
xchangelog: silence grep output
-rwxr-xr-x | xchangelog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xchangelog b/xchangelog index e97cdf0..8f25228 100755 --- a/xchangelog +++ b/xchangelog @@ -26,7 +26,7 @@ fi if ! [ -t 1 ]; then curl -s -- "$changelog" -elif curl -sI -w "%{content_type}" -o /dev/null -- "$changelog" | grep -i "^text/plain"; then +elif curl -sI -w "%{content_type}" -o /dev/null -- "$changelog" | grep -qi "^text/plain"; then if [ -n "$PAGER" ]; then curl -s -- "$changelog" | "$PAGER" elif type less >/dev/null; then |