summaryrefslogtreecommitdiffstats
path: root/rescue/Flash/scripts/rescue_common
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/Flash/scripts/rescue_common')
-rw-r--r--rescue/Flash/scripts/rescue_common4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/Flash/scripts/rescue_common b/rescue/Flash/scripts/rescue_common
index b3fc7c8a8..724b116a5 100644
--- a/rescue/Flash/scripts/rescue_common
+++ b/rescue/Flash/scripts/rescue_common
@@ -105,6 +105,8 @@ function insert_pendrive() {
echo -n 'Detecting pen drive: '
for ((i=0; $i <= 15 ; i++)); do
+ detect_version
+
nash --force > /dev/null 2>&1 <<EOF
mount -t vfat LABEL=MDVUSBROOT $_tmpdir
EOF
@@ -125,8 +127,6 @@ EOF
umount $_tmpdir
rmdir $_tmpdir 2> /dev/null
- detect_version
-
return 0
fi
done