diff --git a/scripts/Common/Software/KDE/input.fish b/scripts/Common/Software/KDE/input.fish index ac122195..0c1771ae 100644 --- a/scripts/Common/Software/KDE/input.fish +++ b/scripts/Common/Software/KDE/input.fish @@ -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) ]