summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-10 12:05:15 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-10 12:05:15 -0700
commit1dbbd6afcb6da58ddbb77cad5b45aa4100735169 (patch)
treef142e282656814e560dbdd90711dafd5252ea440 /archiso
parent2aca746d5809811c079206989dc424cefa907362 (diff)
Fix mount loop test for bindings
test -f will fail if we wanted to bind to a directory, so use test -r instead. See FS#15356 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to '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}