Fix for pihole -w --nuke displaying help info even if command is executed correctly

Signed-off-by: Jeroen Baert <3607063+Forceflow@users.noreply.github.com>
This commit is contained in:
Jeroen Baert 2020-05-12 19:59:19 +02:00
parent 1b41a5d59a
commit 4cf241b42b
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ Displaylist() {
NukeList() {
sqlite3 "${gravityDBfile}" "DELETE FROM domainlist WHERE type = ${typeId};"
exit 0;
}
for var in "$@"; do