fix pack protocol example client/server communication
[gitweb.git] / git-submodule.sh
index e26146e72115551ac69af22b2045905e490b3635..b5f2beee60ab59a04b5b236da8df39403009db1b 100755 (executable)
@@ -548,7 +548,7 @@ cmd_update()
        do
                die_if_unmatched "$quickabort" "$sha1"
 
-               git submodule--helper ensure-core-worktree "$sm_path"
+               git submodule--helper ensure-core-worktree "$sm_path" || exit 1
 
                update_module=$(git submodule--helper update-module-mode $just_cloned "$sm_path" $update)