[PATCH] path-lookup: don't remove empty directories.

Frederic Crozat fcrozat at suse.com
Wed Aug 24 04:52:47 PDT 2011


They might be populated by generator.
---
 src/path-lookup.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/path-lookup.c b/src/path-lookup.c
index 5f5ad8c..7f8b0cb 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -240,7 +240,6 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as, bool personal
                         return -ENOMEM;
 
         strv_uniq(p->unit_path);
-        strv_path_remove_empty(p->unit_path);
 
         if (!strv_isempty(p->unit_path)) {
 
-- 
1.7.3.4


--=-AmG7KAVQYOwHagf3z0TI--



More information about the systemd-devel mailing list