diff options
Diffstat (limited to 'loader2/loader.c')
-rw-r--r-- | loader2/loader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/loader.c b/loader2/loader.c index 84f6a49c3..9766ece55 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -1354,6 +1354,8 @@ int main(int argc, char ** argv) { } else { if (loadpolicy() == 0) { setexeccon(ANACONDA_CONTEXT); + } else { + flags |= FL_NO_SELINUX; } } } @@ -1406,6 +1408,8 @@ int main(int argc, char ** argv) { *argptr++ = "-C"; if (FL_EXPERT(flags)) *argptr++ = "--expert"; + if (FL_NOSELINUX(flags)) + *argptr++ = "--noselinux"; if (FL_KICKSTART(flags)) { *argptr++ = "--kickstart"; |