mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
nspawn: fix build on non-selinux systems
This commit is contained in:
+1
-4
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user