From e3e0314b56012f7febc279d268f2cadc1fcc0f25 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Wed, 25 Dec 2013 18:10:18 -0500 Subject: systemctl: allow globbing in commands which take multiple unit names --- src/journal/journalctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/journal') diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 122b0e64f..fdee9d4e6 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -991,7 +991,7 @@ static int add_units(sd_journal *j) { assert(j); STRV_FOREACH(i, arg_system_units) { - u = unit_name_mangle(*i); + u = unit_name_mangle(*i, false); if (!u) return log_oom(); r = add_matches_for_unit(j, u); @@ -1003,7 +1003,7 @@ static int add_units(sd_journal *j) { } STRV_FOREACH(i, arg_user_units) { - u = unit_name_mangle(*i); + u = unit_name_mangle(*i, false); if (!u) return log_oom(); -- cgit v1.2.3