We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5371c3 commit 52a22e2Copy full SHA for 52a22e2
1 file changed
bin/v-add-remote-dns-domain
@@ -44,7 +44,7 @@ remote_dns_health_check
44
str=$(grep "DOMAIN='$domain'" $USER_DATA/dns.conf 2>/dev/null)
45
if [ -z "$str" ]; then
46
pipe="$VESTA/data/queue/dns-cluster.pipe"
47
- queue_str=$(grep -n "$SCRIPT $1 $2 no$" $pipe |cut -f1 -d: |head -n1)
+ queue_str=$(grep -n "$SCRIPT $1 $2 " $pipe |cut -f1 -d: |head -n1)
48
if [ ! -z "$queue_str" ]; then
49
sed -i "$queue_str d" $pipe
50
fi
0 commit comments