From d879722cd6e782336001099e330a216fb32a1056 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Nov 2017 09:20:57 -0200 Subject: Exit if git-update-superproject cannot pull --- git-update-superproject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-update-superproject') diff --git a/git-update-superproject b/git-update-superproject index d58d416..0e49a01 100755 --- a/git-update-superproject +++ b/git-update-superproject @@ -13,7 +13,7 @@ if [ ! -e ".git" ]; then fi # Run -git pull $* +git pull $* || exit 1 git submodule sync --recursive git submodule update --recursive --init git submodules-checkout-branch -- cgit v1.2.3