summaryrefslogtreecommitdiff
path: root/paccheck.hook
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-10 11:12:31 +0200
committerErich Eckner <git@eckner.net>2019-10-10 11:12:31 +0200
commit04e9644edc58ece10e6b0599a3c7549908072d5f (patch)
tree1b8ac3ddc8e518804769160b1b3ea97dd6a83341 /paccheck.hook
parent15a1b2420f2f5d002c499b51fc07cd805f9c0f15 (diff)
downloadsendmailadvanced-04e9644edc58ece10e6b0599a3c7549908072d5f.tar.xz
paccheck.hook: print message when no errors were found
Diffstat (limited to 'paccheck.hook')
-rw-r--r--paccheck.hook4
1 files changed, 3 insertions, 1 deletions
diff --git a/paccheck.hook b/paccheck.hook
index c5f3668..f652fe0 100644
--- a/paccheck.hook
+++ b/paccheck.hook
@@ -7,7 +7,9 @@ case "$1" in
'foot')
echo '----------------------- Pacman Check Begin -------------------------'
echo
- paccheck --list-broken --sha256sum
+ if paccheck --list-broken --sha256sum; then
+ echo 'No errors found.'
+ fi
echo
echo '------------------------ Pacman Check End --------------------------'
;;