Permalink
Browse files

Stop suppressing errors from `git submodule status`

  • Loading branch information...
1 parent ff1ec26 commit 449d8fac8097dc236d6c9a46e353b9293249dc13 @jspahrsummers committed Nov 14, 2013
Showing with 8 additions and 1 deletion.
  1. +8 −1 bootstrap
View
@@ -28,7 +28,14 @@ main ()
check_deps
fi
- local submodules=$(git submodule status 2>/dev/null)
+ local submodules=$(git submodule status)
+ local result=$?
+
+ if [ "$result" -ne "0" ]
+ then
+ exit $result
+ fi
+
if [ -n "$submodules" ]
then
echo "*** Updating submodules..."

0 comments on commit 449d8fa

Please sign in to comment.