mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +00:00
exit after displaying white/blacklist
This commit is contained in:
parent
8ee98f0a4a
commit
b79392ba2c
@ -143,6 +143,7 @@ DisplayBlist() {
|
||||
echo "${count}: ${AD}"
|
||||
count=$((count+1))
|
||||
done < "${blacklist}"
|
||||
exit 0;
|
||||
}
|
||||
|
||||
###################################################
|
||||
|
@ -115,6 +115,7 @@ DisplayWlist() {
|
||||
echo "${count}: ${RD}"
|
||||
count=$((count+1))
|
||||
done < "${whitelist}"
|
||||
exit 0;
|
||||
}
|
||||
|
||||
###################################################
|
||||
|
Loading…
Reference in New Issue
Block a user