Fix git pull error handling
This commit is contained in:
parent
acb3902144
commit
5ca4b4067a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ systemctl stop ruscomap.service || echo -e "\nErrore nell'arrestare ruscomap!\n"
|
||||||
|
|
||||||
cd "${ruscomap_dir}" || exit 1
|
cd "${ruscomap_dir}" || exit 1
|
||||||
echo -e "\nEseguo git pull..."
|
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
|
cd "server" || exit 1
|
||||||
npm ci
|
npm ci
|
||||||
systemctl start ruscomap.service
|
systemctl start ruscomap.service
|
||||||
|
|
Loading…
Reference in a new issue