Silence console output
This commit is contained in:
parent
b2bd9281cc
commit
8ce99816be
1 changed files with 1 additions and 1 deletions
|
@ -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) ]
|
||||
|
|
Loading…
Reference in a new issue