regenconf: gotta explicitly return *0* ...

This commit is contained in:
Alexandre Aubin 2021-10-20 19:47:34 +02:00
parent 146fba7d48
commit 86a9cb37ce

View file

@ -69,7 +69,7 @@ do_post_regen() {
short_hostname=$(hostname -s) short_hostname=$(hostname -s)
grep -q "127.0.0.1.*$short_hostname" /etc/hosts || echo -e "\n127.0.0.1\t$short_hostname" >>/etc/hosts grep -q "127.0.0.1.*$short_hostname" /etc/hosts || echo -e "\n127.0.0.1\t$short_hostname" >>/etc/hosts
[[ -n "$regen_conf_files" ]] || return [[ -n "$regen_conf_files" ]] || return 0
# Remove / disable services likely to conflict with dnsmasq # Remove / disable services likely to conflict with dnsmasq
for SERVICE in systemd-resolved bind9; do for SERVICE in systemd-resolved bind9; do