Ensure that adlistFile is created before chmodding

If an user installs Pi-hole without selecting any adlists, the installer emits a warning and exits. By touching the file this is prevented.
pull/3463/head^2
jesterchen 4 years ago committed by GitHub
parent c73001f392
commit 7934a9bcb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1228,6 +1228,7 @@ chooseBlocklists() {
do
appendToListsFile "${choice}"
done
touch "${adlistFile}"
chmod 644 "${adlistFile}"
}

Loading…
Cancel
Save