Merge pull request #165 from wllm-rbnt/check_git_pull_return_code

Add return code check after git pull
remotes/origin/recordGDPR
Cédric 2019-06-11 09:11:57 +00:00 committed by GitHub
commit a5faabd03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ fi
$gitcommand pull
if [ $? != 0 ]; then
echo "A problem occurred while retrieving remote files from repository."
exit 1
fi
composercommand=`command -v composer`
if [[ -z "$composercommand" ]]; then
if [[ ! -f "composer.phar" ]]; then