--- src/shared/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/install.c b/src/shared/install.c index 1161068..c1a5ce0 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1414,7 +1414,7 @@ static int install_context_mark_for_removal( assert_se(hashmap_move_one(c->have_installed, c->will_install, i->name) == 0); q = unit_file_search(c, i, paths, root_dir, false); - if (q == -ENOENT) { + if (q == -ENOENT && i->path) { /* do nothing */ } else if (q < 0) { if (r >= 0) -- 1.8.2.1 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel