diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-08-10 12:05:15 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-08-10 12:05:15 -0700 |
commit | 1dbbd6afcb6da58ddbb77cad5b45aa4100735169 (patch) | |
tree | f142e282656814e560dbdd90711dafd5252ea440 | |
parent | 2aca746d5809811c079206989dc424cefa907362 (diff) | |
download | archiso32-1dbbd6afcb6da58ddbb77cad5b45aa4100735169.tar.xz |
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/archiso | 2 |
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} |