From 435e1cef0025fbe6cbb71b472218e8d132d1681c Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 29 Mar 2022 11:56:48 +0300 Subject: home: symlink-manager: Handle non-existing directory during cleanup. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/symlink-manager.scm (update-symlinks-script): Handle non-existing directory during cleanup. Signed-off-by: Ludovic Courtès --- gnu/home/services/symlink-manager.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/home/services') diff --git a/gnu/home/services/symlink-manager.scm b/gnu/home/services/symlink-manager.scm index 5b85a0e581..e4c931fbee 100644 --- a/gnu/home/services/symlink-manager.scm +++ b/gnu/home/services/symlink-manager.scm @@ -157,6 +157,7 @@ subdirectory from XDG_CONFIG_HOME to generate a target path." #t (G_ "Skipping ~a (not an empty directory)... done\n") directory)) + ((= ENOENT errno) #t) ((= ENOTDIR errno) #t) (else (apply throw args))))))))) -- cgit 1.4.1