Fix git pull error handling

This commit is contained in:
0d0acre 2024-09-21 02:33:37 +02:00
parent acb3902144
commit 5ca4b4067a

View file

@ -12,7 +12,7 @@ systemctl stop ruscomap.service || echo -e "\nErrore nell'arrestare ruscomap!\n"
cd "${ruscomap_dir}" || exit 1
echo -e "\nEseguo git pull..."
git pull || echo -e "\nErrore git!\n"
git pull || echo -e "\nErrore git!\n" && exit 1
cd "server" || exit 1
npm ci
systemctl start ruscomap.service