aboutsummaryrefslogtreecommitdiff
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
parentminor install/test suite change (diff)
downloadgitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.tar.gz
gitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.tar.bz2
gitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.zip
minor fixup to selinux detection
-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";