summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index d76ee03..d6a8273 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -2445,7 +2445,7 @@ static int update_submodule(struct update_data *update_data)
update_data->displaypath);
if (ret == 128)
exit(ret);
- return 1;
+ return ret;
}
return 0;