From 007c11162aa407eceb74b2e32d21af1e4da6f148 Mon Sep 17 00:00:00 2001 From: Nico <freifunk@nicoboehr.de> Date: Tue, 7 Jan 2020 07:49:10 +0000 Subject: [PATCH] Fix logic --- update-gluon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-gluon.sh b/update-gluon.sh index bb757c5..dd9fc74 100755 --- a/update-gluon.sh +++ b/update-gluon.sh @@ -21,7 +21,7 @@ git remote add upstream "$gluon_upstream_git_url" git fetch upstream --tags # we already have this branch - exit -if ! git rev-parse --verify "remotes/origin/$fork_newest_minor_branch" &> /dev/null; then +if git rev-parse --verify "remotes/origin/$fork_newest_minor_branch" &> /dev/null; then echo "Nothing todo, branch $fork_newest_minor_branch already exists" exit 0 fi -- GitLab