mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
exit after displaying white/blacklist
This commit is contained in:
parent
8ee98f0a4a
commit
b79392ba2c
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue