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