small fixes

This commit is contained in:
Grzegorz Surmann 2024-07-29 00:24:03 +00:00
parent 2b169d43a2
commit 157c952bc5

View File

@ -16,7 +16,7 @@ if [ ${MYUSER} != "root" ]; then
fi
echo "*** START ***"
cd ${MYPATH} || ( echo "ERROR: could not change to dif"; exit 1 )
cd ${MYPATH} 2>/dev/null || ( echo "ERROR: could not change to dir"; echo "*** DONE ***"; exit 1 )
git pull
cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service
systemctl daemon-reload