summaryrefslogtreecommitdiffstats
path: root/rescue-Flash/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'rescue-Flash/scripts')
-rwxr-xr-xrescue-Flash/scripts/clear_systemloop4
1 files changed, 3 insertions, 1 deletions
diff --git a/rescue-Flash/scripts/clear_systemloop b/rescue-Flash/scripts/clear_systemloop
index 159f22119..f218d0987 100755
--- a/rescue-Flash/scripts/clear_systemloop
+++ b/rescue-Flash/scripts/clear_systemloop
@@ -36,7 +36,9 @@ function doit() {
dd if=/dev/zero of=$loop bs=4000000 count=100
fi
- /sbin/mkfs.ext2 -q -F $loop
+ if [ x"$version" = x"1.0" ]; then
+ /sbin/mkfs.ext2 -q -F $loop
+ fi
echo
if [ $? -ne 0 ]; then