diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-25 18:10:18 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-26 13:24:36 -0500 |
commit | e3e0314b56012f7febc279d268f2cadc1fcc0f25 (patch) | |
tree | 77167853e86557b2ec2e377ebdcebc91e1d13df4 /src/journal | |
parent | 8d5ba5a946388c965632713f6c1abfb3acba17f7 (diff) |
systemctl: allow globbing in commands which take multiple unit names
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 122b0e64fc..fdee9d4e64 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(); |