summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2016-03-25 10:10:10 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2016-03-25 10:10:10 +0530
commit6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f (patch)
treedaa4c4ca415878ce1f19473bfad2f9a2f1197ab5 /src
parent31214b4aac14430812a0ff18d739c8f1934261a8 (diff)
minor fixup to selinux detection
Diffstat (limited to 'src')
-rwxr-xr-xsrc/triggers/post-compile/ssh-authkeys2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/triggers/post-compile/ssh-authkeys b/src/triggers/post-compile/ssh-authkeys
index 7fe699f..cd59aec 100755
--- a/src/triggers/post-compile/ssh-authkeys
+++ b/src/triggers/post-compile/ssh-authkeys
@@ -24,7 +24,7 @@ my $kfn = '';
GetOptions( 'key-file-name|kfn' => \$kfn, );
tsh_try("sestatus");
-my $selinux = ( tsh_text() =~ /enabled/ );
+my $selinux = ( tsh_text() =~ /enforcing/ );
my $ab = $rc{GL_ADMIN_BASE};
trace( 1, "'keydir' not found in '$ab'; exiting" ), exit if not -d "$ab/keydir";