diff options
author | pks <pks@pks.rocks> | 2021-04-03 09:27:44 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-04-03 09:27:44 +0200 |
commit | 7fb7c1563a969665c93cb1f0c6173bbcb25b88a5 (patch) | |
tree | d77738fe8f678ee8d1ebaba5976a6a3e69d5f3c8 | |
parent | 123a0cd55db12ff5689dc9df045505f00d8c6206 (diff) |
browser: omit error
-rwxr-xr-x | browser | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |