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

This commit is contained in:
Marek Marczykowski-Górecki 2018-12-06 14:44:42 +01:00
parent 03883ece96
commit 8ce95f0db1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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