From ddcdd759146000ff974e9e0bf8b6ca70f4bedfde Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 10 Aug 2009 12:05:15 -0700 Subject: 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 --- archiso/hooks/archiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3-70-g09d2