mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: openssh: Remove authorized_keys.d before copying the new one.
Fixes <https://issues.guix.gnu.org/55661>. * gnu/services/ssh.scm (openssh-activation): Fix typo in 'delete-file-recursively' call.
This commit is contained in:
parent
0dc63ce519
commit
4577f3c6b6
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ (define (touch file-name)
|
|||
;; authorized-key directory to /etc.
|
||||
(catch 'system-error
|
||||
(lambda ()
|
||||
(delete-file-recursively "/etc/authorized_keys.d"))
|
||||
(delete-file-recursively "/etc/ssh/authorized_keys.d"))
|
||||
(lambda args
|
||||
(unless (= ENOENT (system-error-errno args))
|
||||
(apply throw args))))
|
||||
|
|
Loading…
Reference in a new issue