Bob Mottram 7 年前
父节点
当前提交
f3d6fc59f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-base-tripwire

+ 1
- 1
src/freedombone-base-tripwire 查看文件

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