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