Skip to content

fix: check git repository a bit later#1372

Merged
thomas-mangin merged 1 commit intoExa-Networks:mainfrom
vincentbernat:fix/git-status
Apr 8, 2026
Merged

fix: check git repository a bit later#1372
thomas-mangin merged 1 commit intoExa-Networks:mainfrom
vincentbernat:fix/git-status

Conversation

@vincentbernat
Copy link
Copy Markdown
Member

With dash as sh, "[" is an external command and modifies the value of "$?". So, we need to check if we are in a git repository after checking exabgp_version. I think this would also be the case for bash, but I did not test.

With dash as sh, "[" is an external command and modifies the value of
"$?". So, we need to check if we are in a git repository after checking
exabgp_version. I think this would also be the case for bash, but I did
not test.
@thomas-mangin thomas-mangin merged commit 8e68b42 into Exa-Networks:main Apr 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants