diff options
Diffstat (limited to 'xchangelog')
-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 |