Skip to content
Snippets Groups Projects
Commit 61d55573 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't show tripwire code if database file doesn't exist

parent d9adff3a
No related branches found
No related tags found
No related merge requests found
......@@ -1269,6 +1269,9 @@ function security_settings {
}
function show_tripwire_verification_code {
if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then
return
fi
clear
echo ''
echo $'Tripwire Verification Code'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment