aboutsummaryrefslogtreecommitdiff
path: root/etc/openrc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-02-18 17:13:00 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-10 11:43:14 +0100
commita81bb1e4bb838210eed7d63ad5bf89ae9dd72eda (patch)
tree18f22e6731abe1680d6137af6e34e8feac7aa01c /etc/openrc
parente1b38046a6eadd2a3a8f1597330cf688904bd41b (diff)
downloadguix-a81bb1e4bb838210eed7d63ad5bf89ae9dd72eda.tar.gz
guix-a81bb1e4bb838210eed7d63ad5bf89ae9dd72eda.zip
home: symlink-manager: Remove 'empty-directory?' and avoid TOCTTOU race.
This removes three 'stat' syscalls. * gnu/home/services/symlink-manager.scm (update-symlinks-script)[empty-directory?]: Remove. [cleanup-symlinks]: Replace use of 'file-exists?', 'file-is-directory?', and 'empty-directory?' by a single 'rmdir' call.
Diffstat (limited to 'etc/openrc')
0 files changed, 0 insertions, 0 deletions