From 04e9644edc58ece10e6b0599a3c7549908072d5f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 10 Oct 2019 11:12:31 +0200 Subject: paccheck.hook: print message when no errors were found --- paccheck.hook | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 --------------------------' ;; -- cgit v1.2.3-70-g09d2