chiark / gitweb /
logs-show: export logic to add matches for units
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2013 23:30:05 +0000 (19:30 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2013 23:53:29 +0000 (19:53 -0400)
commit886a64fe6903bc1ccde5c7af0eac6786918c8e49
treee8a8fd3318aa1e909ced2e38f84f052892a27c46
parent7d7681f70bc8c2140092029ccada9f75510a176b
logs-show: export logic to add matches for units

After that functions which add matches, show_journal_by_unit
and show_journal_by_user_unit, become nearly identical, so
I merged them into one function.
src/shared/logs-show.c
src/shared/logs-show.h
src/systemctl/systemctl.c