From 157c952bc591c6389c27cef71e7d5c0d9c615c28 Mon Sep 17 00:00:00 2001 From: Grzegorz Surmann Date: Mon, 29 Jul 2024 00:24:03 +0000 Subject: [PATCH] small fixes --- bin/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update.sh b/bin/update.sh index f2ebda9..d96344a 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -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