mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +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
@ -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 New Issue
Block a user