diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-07-31 13:53:41 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-07-31 13:53:41 +0200 |
commit | 9594c27235b6c86a30b62132c653a5b4c332607e (patch) | |
tree | 9798a42e2b0476e4c74d8fbbef5c2568477ba1fd /lib/subcommands/pull.bash | |
parent | 858dd56218b277ff14ba6c1d4ba1f7416f4935b8 (diff) |
Fix pull not returning 0 in all cases
Diffstat (limited to 'lib/subcommands/pull.bash')
-rw-r--r-- | lib/subcommands/pull.bash | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |