Skip to content

Commit d83a8e7

Browse files
committed
Merge PR DavHau#141: Ignore top-level sockets
2 parents c90b008 + 54f9a21 commit d83a8e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ let
292292
# we need to collect all top level directories and bind them inside an empty root
293293
294294
# for termux a fallback is needed as enumerating top level directories fails
295-
if ! pathsTopLevel="\$(find / -mindepth 1 -maxdepth 1 -not -name nix -not -name dev 2>&3)"; then
295+
if ! pathsTopLevel="\$(find / -mindepth 1 -maxdepth 1 -not -name nix -not -name dev -not -type s 2>&3)"; then
296296
debug "Error: unable to list top level directories. Falling back to default binds."
297297
pathsTopLevel="/etc /proc"
298298
fi

0 commit comments

Comments
 (0)