Don't show tripwire code if database file doesn't exist
This commit is contained in:
parent
d9adff3a9e
commit
61d555737e
|
@ -1269,6 +1269,9 @@ function security_settings {
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_tripwire_verification_code {
|
function show_tripwire_verification_code {
|
||||||
|
if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
clear
|
clear
|
||||||
echo ''
|
echo ''
|
||||||
echo $'Tripwire Verification Code'
|
echo $'Tripwire Verification Code'
|
||||||
|
|
Loading…
Reference in New Issue