Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
commitddcdd759146000ff974e9e0bf8b6ca70f4bedfde (patch)
tree683c67c728f33f8bec89598f975dc7dd46469120
parentac1369543f795da44b540ab961f0bc859786edd9 (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>
-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}