summaryrefslogtreecommitdiff
path: root/src/getty-generator
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-31 12:40:20 +0200
committerKay Sievers <kay@vrfy.org>2012-05-31 12:40:20 +0200
commitd2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a (patch)
treeb1a4773022e0904f6e023bcff832d897ed46c893 /src/getty-generator
parent051d68786bd5bfe87e7cc0c1d68ec4be83eb662a (diff)
downloadsystemd-d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a.tar.gz
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
Diffstat (limited to 'src/getty-generator')
-rw-r--r--src/getty-generator/getty-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c
index 85600263f9..bb7c225e02 100644
--- a/src/getty-generator/getty-generator.c
+++ b/src/getty-generator/getty-generator.c
@@ -47,7 +47,7 @@ static int add_symlink(const char *fservice, const char *tservice) {
goto finish;
}
- mkdir_parents(to, 0755);
+ mkdir_parents_label(to, 0755);
r = symlink(from, to);
if (r < 0) {