diff options
author | 2016-03-25 10:10:10 +0530 | |
---|---|---|
committer | 2016-03-25 10:10:10 +0530 | |
commit | 6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f (patch) | |
tree | daa4c4ca415878ce1f19473bfad2f9a2f1197ab5 /src/triggers/post-compile/ssh-authkeys | |
parent | minor install/test suite change (diff) | |
download | gitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.tar.gz gitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.tar.bz2 gitolite-gentoo-6ed0156bd6e1fa6b0c31d7a2dfa4ae55203c617f.zip |
minor fixup to selinux detection
Diffstat (limited to 'src/triggers/post-compile/ssh-authkeys')
-rwxr-xr-x | src/triggers/post-compile/ssh-authkeys | 2 |
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"; |