diff options
author | Erich Eckner <git@eckner.net> | 2019-10-10 11:12:31 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-10 11:12:31 +0200 |
commit | 04e9644edc58ece10e6b0599a3c7549908072d5f (patch) | |
tree | 1b8ac3ddc8e518804769160b1b3ea97dd6a83341 | |
parent | 15a1b2420f2f5d002c499b51fc07cd805f9c0f15 (diff) | |
download | sendmailadvanced-04e9644edc58ece10e6b0599a3c7549908072d5f.tar.xz |
paccheck.hook: print message when no errors were found
-rw-r--r-- | paccheck.hook | 4 |
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 --------------------------' ;; |