nspawn: fix build on non-selinux systems

This commit is contained in:
Lennart Poettering
2015-02-19 12:03:12 +01:00
parent 6dac160c0a
commit d15d65a01f
+1 -4
View File
@@ -872,10 +872,7 @@ static int mount_all(const char *dest) {
int r = 0;
for (k = 0; k < ELEMENTSOF(mount_table); k++) {
_cleanup_free_ char *where = NULL;
#ifdef HAVE_SELINUX
_cleanup_free_ char *options = NULL;
#endif
_cleanup_free_ char *where = NULL, *options = NULL;
const char *o;
int t;