summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-12-01 09:29:14 -0500
committerGitHub <noreply@github.com>2016-12-01 09:29:14 -0500
commita32ffa161c04eefb08c92ca9c9f37c3a81117e29 (patch)
tree53b030a1a56c7c80751ce3401d455ce6b394de71 /src/systemctl/systemctl.c
parentb06662e85397448a5aba45ae7c698be6b6b86ee0 (diff)
parentcb638b5e96465e695eaf34859ac762236b4bcb1e (diff)
Merge pull request #4694 from poettering/chase-everywhere
tree-wide: stop using canonicalize_file_name(), use chase_symlinks() …
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index c3cb8ef108..67516cf5fb 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -2487,7 +2487,7 @@ static int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **un
if (!path)
return log_oom();
- r = chase_symlinks(path, arg_root, &lpath);
+ r = chase_symlinks(path, arg_root, 0, &lpath);
if (r == -ENOENT)
continue;
if (r == -ENOMEM)