This commit is contained in:
Sazonov Andrey 2026-01-14 10:46:17 +03:00
parent 7319b5df65
commit 938fca0ee8

View File

@ -68,8 +68,7 @@ awk '
###############################################################################
# journalctl
###############################################################################
if [[ "$SOURCE" == "journalctl" ]]
then
if [[ "$SOURCE" == "journalctl" ]]; then
echo -e "\e[1;34m--------------------- journalctl ---------------------\e[0m"
journalctl -k \
@ -90,8 +89,7 @@ else
do
echo -e "\e[1;34m--------------------- File $doc ---------------------\e[0m"
if [[ "${doc##*.}" == "gz" ]]
then
if [[ "${doc##*.}" == "gz" ]]; then
CMD=zgrep
else
CMD=grep