From 9594c27235b6c86a30b62132c653a5b4c332607e Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Mon, 31 Jul 2023 13:53:41 +0200
Subject: Fix pull not returning 0 in all cases
---
lib/subcommands/pull.bash | 2 ++
1 file changed, 2 insertions(+)
(limited to 'lib')
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
}
--
cgit v1.1