Code cleanup

This commit is contained in:
Dennis ten Hoove 2024-03-24 17:19:01 +01:00
parent ddd79af76f
commit 5f2846e51a

2
arkdep
View file

@ -780,7 +780,7 @@ deploy () {
# Check if only /etc is present, if it is we do not have to unlock the root volume # Check if only /etc is present, if it is we do not have to unlock the root volume
for file in ${overlay_files[*]}; do for file in ${overlay_files[*]}; do
if [[ ! $file == 'etc' ]]; then if [[ $file != 'etc' ]]; then
printf "\e[1;33m<!>\e[0m\e[1m ${data[0]} Non /etc file or directory detected, root will be temporarily unlocked\e[0m\n" printf "\e[1;33m<!>\e[0m\e[1m ${data[0]} Non /etc file or directory detected, root will be temporarily unlocked\e[0m\n"
overlay_unlock_root=1 overlay_unlock_root=1
fi fi