Sort by day
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Mar 2021 11:59:33 +0000 (06:59 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 4 Mar 2021 11:59:33 +0000 (06:59 -0500)
home/lib/login_functions.sh

index 426cbb2..185fb26 100644 (file)
@@ -730,7 +730,7 @@ ssh_invalid_by_day() {
         ' \
         /var/log/auth.log \
         /var/log/auth.log.1 \
-    | sort -n -k 1 \
+    | sort -k 3 \
     | bar_gauge -v width="$(stty size | awk '{print $2}')" -v num=1 -v ch_right=' ' -v ch_left=' ' -v ch_blank=' ' \
     | column -t
 }
This page took 0.029284 seconds and 4 git commands to generate.