Silence console output

This commit is contained in:
Manuel Thalmann 2024-09-20 06:11:00 +02:00
parent b2bd9281cc
commit 8ce99816be

View file

@ -6,7 +6,7 @@ function addInputConfig -a vendorID productID name
set statements (cat)
end
if not cat $file | grep "\\[$name\\]" > /dev/null 2>&1
if not cat $file | grep "\\[$name\\]" &> /dev/null
begin
printf %s\n \
(if [ -f $file ] && [ -n (cat $file) ]