diff options
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | lib/subcommands/pull.bash | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ac54d0..fa43494 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The `svc_` utils should now check which init service you're using when using a linux system. The supported options are still only openrc and systemd. +- The `pull` subcommand should now properly return with exit-code 0 if no + problem were encountered. ## [2.0.0] - 2023-05-22 diff --git a/lib/subcommands/pull.bash b/lib/subcommands/pull.bash index 4f2ae99..8dfb48b 100644 --- a/lib/subcommands/pull.bash +++ b/lib/subcommands/pull.bash @@ -19,4 +19,6 @@ subcommand() git -C "$BASHTARD_ETCDIR" pull origin master || return 4 git -C "$BASHTARD_ETCDIR" submodule update --init --recursive || return 4 [[ -n $dirty ]] && git -C "$BASHTARD_ETCDIR" stash pop + + return 0 } |