mirror of
https://github.com/hashicorp/vault.git
synced 2026-03-03 22:11:16 -05:00
`$?` in bash is wonky. When you evaluate an expression in an `if` statement the `$?` variable is only set the actual value in blocks scoped in the statement. Therefore, since we rely on it in synchronize-repos we have to evaluate the rest of the function in a scope of that statement. Signed-off-by: Ryan Cragun <me@ryan.ec> |
||
|---|---|---|
| .. | ||
| add-repos.sh | ||
| install-packages.sh | ||
| synchronize-repos.sh | ||