Skip to content

Commit

Permalink
fixed delimiter format for plain output
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Aug 8, 2019
1 parent 743476a commit 26c0d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/v-delete-mail-domain
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fi
# Deleting dkim dns record
if [ "$DKIM" = 'yes' ] && [ -e "$USER_DATA/dns/$domain.conf" ]; then
records=$($BIN/v-list-dns-records $user $domain plain)
dkim_records=$(echo "$records" |grep -w '_domainkey' | cut -f 1 -d ' ')
dkim_records=$(echo "$records" |grep -w '_domainkey' |cut -f 1)
for id in $dkim_records; do
$BIN/v-delete-dns-record $user $domain $id
done
Expand Down

0 comments on commit 26c0d3c

Please sign in to comment.