label: fix labeling of symbolic links

This commit is contained in:
Dan Walsh
2011-12-19 23:58:58 +01:00
committed by Michal Schmidt
parent 0b1f4ae635
commit 81c3f1f6ab
+1 -1
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 */