diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-16 13:35:51 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-19 03:24:43 +0200 |
commit | d924a938fe3dbba360cdbee0201ea9797c5f8bff (patch) | |
tree | f4a982db4a863fe9e017916df5228f2005b6a89c /src/basic/fileio.c | |
parent | meson: drop unnecessary listification (diff) | |
download | systemd-d924a938fe3dbba360cdbee0201ea9797c5f8bff.tar.xz systemd-d924a938fe3dbba360cdbee0201ea9797c5f8bff.zip |
meson: use jinja2 for tmpfiles.d templates
HAVE_SMACK_RUN_LABEL was dropped back in 348b44372f36010d48d9a7dda14ef67155753a71,
so one line in etc.conf was not rendered as expected ;(
Checking if names are defined is paying for itself!
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r-- | src/basic/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c index 93d8547b32..dabdf5b517 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -1391,7 +1391,7 @@ int rename_and_apply_smack_floor_label(const char *from, const char *to) { if (rename(from, to) < 0) return -errno; -#ifdef SMACK_RUN_LABEL +#if HAVE_SMACK_RUN_LABEL r = mac_smack_apply(to, SMACK_ATTR_ACCESS, SMACK_FLOOR_LABEL); if (r < 0) return r; |