mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
label: fix labeling of symbolic links
This commit is contained in:
parent
0b1f4ae635
commit
81c3f1f6ab
@ -109,7 +109,7 @@ int label_fix(const char *path, bool ignore_enoent) {
|
||||
return 0;
|
||||
|
||||
if (r == 0) {
|
||||
r = setfilecon(path, fcon);
|
||||
r = lsetfilecon(path, fcon);
|
||||
freecon(fcon);
|
||||
|
||||
/* If the FS doesn't support labels, then exit without warning */
|
||||
|
Loading…
Reference in New Issue
Block a user