diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-04-06 11:51:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-06 15:14:58 +0200 |
commit | 91e1a457b567935784632b3aa0235a7a3b5d35f9 (patch) | |
tree | 44148aeb4465d03764b9fc32f11762e2bd042d7d /gnu/bootloader | |
parent | 0b941ea0622abe7f9c9f72d9f8a8a5ac845a3920 (diff) | |
download | guix-91e1a457b567935784632b3aa0235a7a3b5d35f9.tar.gz guix-91e1a457b567935784632b3aa0235a7a3b5d35f9.zip |
services: guix: Gracefully handle dangling symlink for ‘machines.scm’.
Previously, if /etc/guix/machines.scm was a dangling symlink, it would
be kept (because ‘file-exists?’ would return #f) and thus the following
‘symlink’ call would throw with EEXIST.
* gnu/services/base.scm (guix-machines-files-installation): Use ‘lstat’
rather than ‘file-exists?’.
Change-Id: I07c7eed842dacabbd19ae2a17ac3e59cf26e46b2
Diffstat (limited to 'gnu/bootloader')
0 files changed, 0 insertions, 0 deletions