瀏覽代碼

is_protected_file: if no config dir is present, assume the file is _not_ protected

Marek Marczykowski-Górecki 5 年之前
父節點
當前提交
8ce95f0db1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      init/functions

+ 1 - 1
init/functions

@@ -101,7 +101,7 @@ reload_random_seed() {
 }
 
 is_protected_file() {
-    local ret=0
+    local ret=1
     local pfilelist
     for pfilelist in "$PROTECTED_FILE_LIST" "$PER_VM_PROTECTED_FILE_LIST" ; do
         if test -d "$pfilelist" ; then