mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
1 parent
3b778f10eb
commit
9ab6ae4e63
1 file changed
+3
-2
+3
-2
@@ -190,8 +190,9 @@ main() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mountPoint=$(mktemp -d)
|
||||
chmod 755 "${mountPoint}" # bchachefs wants 755
|
||||
mountPoint="/mnt/disko-install-root"
|
||||
mkdir -p "${mountPoint}"
|
||||
chmod 755 "${mountPoint}" # bcachefs wants 755
|
||||
escapeMountPoint=$(printf '%q' "$mountPoint")
|
||||
# shellcheck disable=SC2064
|
||||
trap "cleanupMountPoint ${escapeMountPoint}" EXIT
|
||||
|
||||
Reference in new issue
Block a user