This commit is contained in:
Bob Mottram 2017-07-14 23:42:04 +01:00
parent f6f104078a
commit f3d6fc59f2
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ function install_tripwire {
echo ' echo '
' | tripwire --init --cfgfile /etc/tripwire/tw.cfg --polfile /etc/tripwire/tw.pol --dbfile /var/lib/tripwire/${HOSTNAME}.twd ' | tripwire --init --cfgfile /etc/tripwire/tw.cfg --polfile /etc/tripwire/tw.pol --dbfile /var/lib/tripwire/${HOSTNAME}.twd
if [ ! -f /var/lib/tripwire/$(HOSTNAME).twd ]; then if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then
echo $'tripwire database was not created' echo $'tripwire database was not created'
exit 72925 exit 72925
fi fi