Skip to content

Commit

Permalink
fixing incorrect path for banner check
Browse files Browse the repository at this point in the history
Signed-off-by: wdower <[email protected]>
  • Loading branch information
wdower committed Feb 28, 2024
1 parent c5443d2 commit 5fba2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controls/SV-238197.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@

if xorg_status == 0
describe 'banner-message-enable must be set to true' do
subject { command('grep banner-message-enable /etc/dconf/db/local.d/*') }
its('stdout') { should match(/(banner-message-enable).+=.+(true)/) }
subject { command('grep banner-message-enable /etc/gdm3/greeter.dconf-defaults').stdout.strip }
it { should match(/banner-message-enable\s*=\s*true/) }
end
else
describe command('which Xorg').exit_status do
Expand Down

0 comments on commit 5fba2cc

Please sign in to comment.