aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-02-24 10:05:12 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-02-24 19:06:01 +0100
commit3d1307a5c8b093623fcacabc1f08cd3209cb8ce8 (patch)
tree49f0dd3fb5a30e07476109a488221c3363cbba8e
parent0c362f8ab3ebe3c4350f96bab2c68c7d93ffa7c6 (diff)
downloadpw-3d1307a5c8b093623fcacabc1f08cd3209cb8ce8.tar.gz
pw-apply: avoid spurious error exit codes
When no cover tags were set clear_cover_tags will return with $? set to non-0. Avoid such issues by explicitly returning 0 at the end of the script. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rwxr-xr-xpw-apply1
1 files changed, 1 insertions, 0 deletions
diff --git a/pw-apply b/pw-apply
index 97a41eb..9b94e21 100755
--- a/pw-apply
+++ b/pw-apply
@@ -220,3 +220,4 @@ if [ ! -z "$merge" ]; then
fi
clear_cover_tags
+exit 0