From 1dbbd6afcb6da58ddbb77cad5b45aa4100735169 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-54-g00ecf