Use /bin/journalctl (needed for debian based systems)

This commit is contained in:
Daniel Berteaud 2019-03-26 23:10:00 +01:00
parent eb9de222ce
commit 2f988d0177
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ if ( -e $conf->{state} ){
}
}
open JOURNAL, "/usr/bin/journalctl -f -o json$cursor_arg |";
open JOURNAL, "/bin/journalctl -f -o json$cursor_arg |";
while ( my $entry = <JOURNAL> ){
my $msg = from_json( $entry );