diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-04-29 11:37:43 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-04-29 11:37:43 +0200 |
commit | 5a3ed6b2b5f12df8591386802f5d6484cb9bf561 (patch) | |
tree | 6d03ad78e6201fcd9c6ab919379f0e7d41cf0162 | |
parent | 0e5ebcd7e7771c470c75f3ece270242a96d57a35 (diff) | |
download | bin-5a3ed6b2b5f12df8591386802f5d6484cb9bf561.tar.gz bin-5a3ed6b2b5f12df8591386802f5d6484cb9bf561.tar.xz |
cj: detect ccze
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | cj | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ #!/bin/bash -journalctl -f "$@" | ccze -A -o nolookups +if type ccze &>/dev/null; then + journalctl -f "$@" | ccze -A -o nolookups +else + journalctl -f "$@" +fi |