Merge pull request #165 from wllm-rbnt/check_git_pull_return_code
Add return code check after git pullremotes/origin/recordGDPR
commit
a5faabd03a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue