diff options
Diffstat (limited to 'src/basic/unit-file.c')
-rw-r--r-- | src/basic/unit-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c index 83c29bb25f..ac0236d635 100644 --- a/src/basic/unit-file.c +++ b/src/basic/unit-file.c @@ -689,6 +689,7 @@ static int add_names( return log_debug_errno(r, "Cannot find instance fragment %s: %m", inst); if (inst_fragment && + fragment_basename && !streq(basename(inst_fragment), fragment_basename)) { log_debug("Instance %s has fragment %s and is not an alias of %s.", inst, inst_fragment, unit_name); |