summaryrefslogtreecommitdiff
path: root/meta/packages/initrdscripts/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/initrdscripts/files')
-rw-r--r--meta/packages/initrdscripts/files/init-live.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/packages/initrdscripts/files/init-live.sh b/meta/packages/initrdscripts/files/init-live.sh
index d4e53713e..c96b1f47c 100644
--- a/meta/packages/initrdscripts/files/init-live.sh
+++ b/meta/packages/initrdscripts/files/init-live.sh
@@ -58,6 +58,7 @@ do
for i in `ls /media 2>/dev/null`; do
if [ -f /media/$i/$ROOT_IMAGE ] ; then
found="yes"
+ break
fi
done
if [ "$found" = "yes" ]; then