Commit 3b114fa4 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix logic of conditional

parent 0bfb48a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ popd

# If the branch does not exist, default to "ivas-float-update"
# NOTE: "git ls-remote --exit-code" returns 2 if the given ref was not found
if [ "$exit_code_ls_remote" -eq "2" ]; then
if [ "$exit_code_ls_remote" -eq "0" ]; then
  branchname_out="${float_ref_branchname}"
fi