X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fpath-lookup.c;h=8ee9ddc9c6e65662560481a28a927f6207e2eb98;hp=6e5529e0c729861db3aa6974ba28a629e1062796;hb=874310b7b68c4c0d36ff07397db30a959bb7dae5;hpb=56ba3c78ae35065064c4289a0c8e22a81256af20 diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 6e5529e0c..8ee9ddc9c 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -316,7 +316,6 @@ int lookup_paths_init( return -ENOMEM; strv_uniq(p->unit_path); - path_strv_remove_empty(p->unit_path); if (!strv_isempty(p->unit_path)) { @@ -379,8 +378,6 @@ int lookup_paths_init( strv_uniq(p->sysvinit_path); strv_uniq(p->sysvrcnd_path); - path_strv_remove_empty(p->sysvinit_path); - path_strv_remove_empty(p->sysvrcnd_path); if (!strv_isempty(p->sysvinit_path)) {