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:
DL6ER 2019-04-26 17:13:36 +02:00
parent 6b1d2523e8
commit a891d64395
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -212,8 +212,8 @@ Displaylist() {
echo " ${count}: ${domain} (${status}, added ${nicedate})" echo " ${count}: ${domain} (${status}, added ${nicedate})"
count=$((count+1)) count=$((count+1))
done <<< "${data}" done <<< "${data}"
exit 0;
fi fi
exit 0;
} }
NukeList() { NukeList() {