diff options
Diffstat (limited to 'ubi-utils/scripts/ubi_test.sh')
-rwxr-xr-x | ubi-utils/scripts/ubi_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/scripts/ubi_test.sh b/ubi-utils/scripts/ubi_test.sh index 8e62fb4..73e4b19 100755 --- a/ubi-utils/scripts/ubi_test.sh +++ b/ubi-utils/scripts/ubi_test.sh @@ -95,7 +95,7 @@ delete_volume () volume=$1 ### FIXME broken sysfs!!!! - if [ -e /sys/class/ubi/$volume -o -e /sys/class/ubi/ubi0/$volume ]; then + if [ -e /sys/class/ubi/$volume -o -e /sys/class/ubi/ubi0/$volume -o -e /sys/class/ubi/ubi0_$volume ]; then echo -n "*** Truncate volume if it exists ... " $UBIUPDATEVOL -d0 -n$volume -t @@ -325,4 +325,4 @@ echo "* Congratulations, no errors found! *" echo "* Have fun with your cool UBI system! *" echo "***********************************************************************" -exit_success
\ No newline at end of file +exit_success |