tree-wide: always drop unnecessary dot in path
This commit is contained in:
@@ -387,7 +387,7 @@ int unit_name_path_escape(const char *f, char **ret) {
|
||||
if (!p)
|
||||
return -ENOMEM;
|
||||
|
||||
path_simplify(p, false);
|
||||
path_simplify(p);
|
||||
|
||||
if (empty_or_root(p))
|
||||
s = strdup("-");
|
||||
|
||||
Reference in New Issue
Block a user