services/dkim-key: fix condition for linking current private key
This commit is contained in:
parent
e741cd7bf7
commit
2c13d81a89
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
public)))
|
||||
(display (format #f "Create a TXT record at ~a._domainkey.~a with the contents of ~a/~a~%"
|
||||
#$selector #$domain #$directory public)))
|
||||
(unless (equal? (false-if-exception (readlink current)) key-file)
|
||||
(unless (equal? (false-if-exception (readlink key-file)) private)
|
||||
(delete-file key-file)
|
||||
(symlink private key-file))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue