mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
We should always exit after displaying a list, even if it is empty
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
6b1d2523e8
commit
a891d64395
1 changed files with 1 additions and 1 deletions
|
@ -212,8 +212,8 @@ Displaylist() {
|
|||
echo " ${count}: ${domain} (${status}, added ${nicedate})"
|
||||
count=$((count+1))
|
||||
done <<< "${data}"
|
||||
exit 0;
|
||||
fi
|
||||
exit 0;
|
||||
}
|
||||
|
||||
NukeList() {
|
||||
|
|
Loading…
Reference in a new issue