summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/label.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/label.c b/src/label.c
index fb570c54a5..809b1ee646 100644
--- a/src/label.c
+++ b/src/label.c
@@ -83,6 +83,10 @@ int label_fix(const char *path) {
if (r == 0) {
r = setfilecon(path, fcon);
freecon(fcon);
+
+ /* If the FS doesn't support labels, then exit without warning */
+ if (r < 0 && errno == ENOTSUP)
+ return 0;
}
}