projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe026f
)
install: fix disable when /etc/systemd/system is a symlink
author
Lukas Nykryn
<lnykryn@redhat.com>
Tue, 30 Aug 2016 13:04:07 +0000
(15:04 +0200)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:43 +0000
(16:37 +0100)
Change-Id: I1bafa3e4bfea556e2abceee33b2b2bc6ab97b137
Origin: https://github.com/systemd/systemd/commit/
67852d08e6a35d34b428e8be64efdb3f003f4697
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index
7b49e1e
..
cde17f8
100644
(file)
--- a/
src/shared/install.c
+++ b/
src/shared/install.c
@@
-618,7
+618,7
@@
static int remove_marked_symlinks(
if (set_size(remove_symlinks_to) <= 0)
return 0;
- fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC
|O_NOFOLLOW
);
+ fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC);
if (fd < 0)
return -errno;