diff --git a/livekitlib b/livekitlib index b0b45d8..81e782c 100644 --- a/livekitlib +++ b/livekitlib @@ -258,7 +258,8 @@ find_data_try() FS="$(device_bestfs "$DEVICE")" OPTIONS="$(fs_options $FS)" mount -r "$DEVICE" "$1" $FS $OPTIONS 2>/dev/null - if [ -d "$1/$LIVEKITNAME" ]; then + if [ "$(find "$1/$LIVEKITNAME" -maxdepth 1 -name "*.$BEXT")" != "" ]; then + # we found at least one bundle/module here mount -o remount,rw "$DEVICE" "$1" 2>/dev/null echo "$1/$LIVEKITNAME" return