Fix output in list.sh when adding a domain that is already present in the target list

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-04-25 14:54:41 +02:00
parent 43bced7997
commit cce66a13b6
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -161,7 +161,7 @@ RemoveDomain() {
sqlite3 "${gravityDBfile}" "DELETE FROM ${list} WHERE ${sqlitekey} = \"${domain}\";"
else
if [[ "${verbose}" == true ]]; then
echo -e " ${INFO} ${1} does not exist in ${listname}, no need to remove!"
echo -e " ${INFO} ${1} does not exist in ${list}, no need to remove!"
fi
fi
}