diff options
Diffstat (limited to 'git/fetch.sh')
-rwxr-xr-x | git/fetch.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/git/fetch.sh b/git/fetch.sh index a18be15..185d531 100755 --- a/git/fetch.sh +++ b/git/fetch.sh @@ -11,5 +11,11 @@ for i in $modules; do echo "fetch $i" 1>&2 cd $i git fetch $* + + if [ $? -ne 0 ]; then + echo "fetch FAILED" 1>&2 + exit 1 + fi + cd $wd done |