mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-05-08 17:04:13 +02:00
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:
parent
1b41a5d59a
commit
4cf241b42b
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ Displaylist() {
|
||||||
|
|
||||||
NukeList() {
|
NukeList() {
|
||||||
sqlite3 "${gravityDBfile}" "DELETE FROM domainlist WHERE type = ${typeId};"
|
sqlite3 "${gravityDBfile}" "DELETE FROM domainlist WHERE type = ${typeId};"
|
||||||
|
exit 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for var in "$@"; do
|
for var in "$@"; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue