&> /dev/null

This commit is contained in:
Michael Grote 2023-07-21 21:38:13 +02:00
parent 920e8a0cc0
commit de8bc3e6fa

2
app.sh
View file

@ -68,7 +68,7 @@ while true ; do
sed -i -r '/^# [0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{2}\:[0-9]{2}\:[0-9]{2}\sby\sRouterOS\s[0-9\s\.]+/d' "config_${FQDN}.rsc"
git add "config_${FQDN}.rsc"
echo "commit config for ${FQDN} ..."
git commit -m "update config_${FQDN}" --quiet
git commit -m "update config_${FQDN}" --quiet &> /dev/null
done <<< "$DEVICES"
echo "push config(s)..."