Merge branch 'sb/submodule-clone-retry'
[git/git.git] / git-submodule.sh
index b39ac10..7c62b53 100755 (executable)
@@ -705,7 +705,7 @@ cmd_update()
                        if test $res -gt 0
                        then
                                die_msg="$(eval_gettext "Failed to recurse into submodule path '\$displaypath'")"
-                               if test $res -eq 1
+                               if test $res -ne 2
                                then
                                        err="${err};$die_msg"
                                        continue