Silence console output

This commit is contained in:
Manuel Thalmann 2024-09-20 06:11:00 +02:00
parent 1667f2a682
commit b9d7447ecb

View file

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