diff --git a/common b/common index 1f778ac..2c65c30 100644 --- a/common +++ b/common @@ -76,7 +76,7 @@ api_fs_mount() { mount_conditionally "! mountpoint -q '$1'" "$1" "$1" --bind && track_mount proc "$1/proc" -t proc -o nosuid,noexec,nodev && track_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev,ro && - mount_conditionally "[[ -d $1/sys/firmware/efi/efivars ]]" \ + mount_conditionally "[[ -d '$1/sys/firmware/efi/efivars' ]]" \ efivarfs "$1/sys/firmware/efi/efivars" -t efivarfs -o nosuid,noexec,nodev && track_mount udev "$1/dev" -t devtmpfs -o mode=0755,nosuid && track_mount devpts "$1/dev/pts" -t devpts -o mode=0620,gid=5,nosuid,noexec &&