From 03e80f63bfc4ac6a7b0fb4102fcf7b9316c6b0dc Mon Sep 17 00:00:00 2001 From: Lars Gohlke Date: Wed, 19 Jun 2024 11:07:40 +0200 Subject: [PATCH] removex exit, which closes shell --- tools/git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git.sh b/tools/git.sh index 8d99503..b0fd0c3 100644 --- a/tools/git.sh +++ b/tools/git.sh @@ -84,7 +84,7 @@ function git_reset_with_submodules_recursivly(){ function git_maintenance() { if [[ ! -d .git ]]; then echo "need to be in git repository" - exit 1 + return fi echo "-------------------------------"