Browse Source

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

Marek Marczykowski-Górecki 5 năm trước cách đây
mục cha
commit
8ce95f0db1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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