From 7fb7c1563a969665c93cb1f0c6173bbcb25b88a5 Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 3 Apr 2021 09:27:44 +0200 Subject: browser: omit error --- browser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser b/browser index 6323c4e..77b6555 100755 --- a/browser +++ b/browser @@ -2,7 +2,7 @@ # To use mpv for youtube links if [[ $1 != "" ]]; then - if printf $1 | grep -q "youtube.com"; then + if printf $1 2>/dev/null | grep -q "youtube.com"; then mpv "$1" exit fi -- cgit v1.2.3