1
0
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:
Dan Walsh 2011-12-19 23:55:29 +01:00 committed by Michal Schmidt
parent 0b1f4ae635
commit 81c3f1f6ab

View File

@ -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 */