Merge branch 'js/color-on-windows-comment'
[gitweb.git] / git-submodule.sh
index b39ac106ec33112b1dbd2bc5cad5767ce73bdc44..7c62b53cc0dfcf47770a8f30a59f625c8657c948 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