submodule update: continue when a clone fails
[gitweb.git] / git-submodule.sh
index 42e0e9f63df06453a1515ceaa33b9431c966a23f..f1919ca16fdeec18d66c4b04485fdf802e119b14 100755 (executable)
@@ -734,7 +734,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