redirect stdout to /dev/null as well

This commit is contained in:
Alexander Goussas 2020-07-23 20:47:34 -05:00
parent 7e11892c47
commit 1467fe31a1

View File

@ -6,6 +6,6 @@
# various other scripts for clarity's sake.
for x in "$@";do
pacman -Qq "$x" >/dev/null ||
pacman -Qq "$x" >/dev/null 2>&1 ||
{ notify-send "📦 $x" "must be installed for this function." && exit 1 ;}
done