summaryrefslogtreecommitdiff
path: root/git/remote.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.sh')
-rwxr-xr-xgit/remote.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/git/remote.sh b/git/remote.sh
index 8d67450..acc1e4a 100755
--- a/git/remote.sh
+++ b/git/remote.sh
@@ -11,5 +11,11 @@ for i in $modules; do
echo "remote $i" 1>&2
cd $i
git remote $*
+
+ if [ $? -ne 0 ]; then
+ echo "remote FAILED" 1>&2
+ exit 1
+ fi
+
cd $wd
done