periodic/security/800.loginfail: Add xz(1) and zstd(1) support.
authorSascha Wildner <saw@online.de>
Tue, 13 Mar 2018 09:49:10 +0000 (10:49 +0100)
committerSascha Wildner <saw@online.de>
Tue, 13 Mar 2018 09:49:10 +0000 (10:49 +0100)
etc/periodic/security/800.loginfail

index 9449e33..2b1d97c 100644 (file)
@@ -53,6 +53,8 @@ catmsgs() {
                case $f in
                    *.gz)       zcat -f $f;;
                    *.bz2)      bzcat -f $f;;
+                   *.xz)       xzcat -f $f;;
+                   *.zst)      zstdcat $f;;
                esac
            done
        [ -f ${LOG}/auth.log ] && cat $LOG/auth.log