mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 15:58:29 +00:00
unit-name: style fix in unit_name_is_template()
to make it look like the newly added unit_name_is_instance()
This commit is contained in:
@@ -335,7 +335,8 @@ bool unit_name_is_template(const char *n) {
|
||||
|
||||
assert(n);
|
||||
|
||||
if (!(p = strchr(n, '@')))
|
||||
p = strchr(n, '@');
|
||||
if (!p)
|
||||
return false;
|
||||
|
||||
return p[1] == '.';
|
||||
|
||||
Reference in New Issue
Block a user