summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-08 17:24:34 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-08 17:27:46 -0500
commit4e7dff9b099bfbf7e367e339f5ddcd387caf78ae (patch)
tree03ff96aaa4210bf4ae2fc3388d1ff869fb3b3a96
parent45af44d47da6933b260c734ad9ff721f63f80a4d (diff)
load-fragment: remove wrong ifdef guard
config_parse_warn_compat is now always used for removed options. https://bugs.freedesktop.org/show_bug.cgi?id=87125
-rw-r--r--src/core/load-fragment.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index d3859683a..7f109b893 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -64,7 +64,6 @@
#include "seccomp-util.h"
#endif
-#if !defined(HAVE_SYSV_COMPAT) || !defined(HAVE_SECCOMP) || !defined(HAVE_PAM) || !defined(HAVE_SELINUX) || !defined(HAVE_SMACK) || !defined(HAVE_APPARMOR)
int config_parse_warn_compat(
const char *unit,
const char *filename,
@@ -95,7 +94,6 @@ int config_parse_warn_compat(
return 0;
}
-#endif
int config_parse_unit_deps(const char *unit,
const char *filename,