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

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2611/head
DL6ER 5 years ago
parent 43bced7997
commit cce66a13b6
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -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
}

Loading…
Cancel
Save