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