summaryrefslogtreecommitdiff
path: root/archiso/hooks/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/hooks/archiso')
-rw-r--r--archiso/hooks/archiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index 61bb586..ab55be6 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -94,7 +94,7 @@ run_hook ()
[ "$imgarch" != "$arch" ] && continue
- [ ! -f "/bootmnt/${img}" ] && continue
+ [ ! -r "/bootmnt/${img}" ] && continue
if [ "${type}" = "bind" ]; then
_mnt_bind "/bootmnt/${img}" ${mountpoint}