From: Siraaj Khandkar Date: Wed, 4 Nov 2020 23:18:55 +0000 (-0500) Subject: Include previous file in loggers source files X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=abbf7a2ae8dc88f6c499a18905b02bf0b4d757e7;p=khome.git Include previous file in loggers source files --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 8d1b309..61b5a3f 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -641,7 +641,7 @@ loggers() { split($5, prog, "[") sub(":$", "", prog[1]) # if there were no [], than : will is left behind print prog[1] - }' /var/log/syslog \ + }' /var/log/syslog /var/log/syslog.1 \ | awk ' { n = split($1, path, "/") # prog may be in path form