summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2022-03-29 11:56:48 +0300
committerLudovic Courtès <ludo@gnu.org>2022-04-11 00:25:33 +0200
commit435e1cef0025fbe6cbb71b472218e8d132d1681c (patch)
treea0e3035c0bc46378925c92081dbe0c184281e448
parentac8e987ce2258104ef6d7c51b15d5f974058ca76 (diff)
downloadguix-435e1cef0025fbe6cbb71b472218e8d132d1681c.tar.gz
home: symlink-manager: Handle non-existing directory during cleanup.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Handle
non-existing directory during cleanup.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/home/services/symlink-manager.scm1
1 files changed, 1 insertions, 0 deletions
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)))))))))