From 8ce95f0db1bd35d53729ce5831d9b52622f8044c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 6 Dec 2018 14:44:42 +0100 Subject: [PATCH] is_protected_file: if no config dir is present, assume the file is _not_ protected --- init/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/functions b/init/functions index 9087ada..19a522e 100644 --- a/init/functions +++ b/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