diff options
Diffstat (limited to 'ubi-utils/scripts/ubi_tools_test.sh')
-rwxr-xr-x | ubi-utils/scripts/ubi_tools_test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/scripts/ubi_tools_test.sh b/ubi-utils/scripts/ubi_tools_test.sh index b4d167e..7f121f1 100755 --- a/ubi-utils/scripts/ubi_tools_test.sh +++ b/ubi-utils/scripts/ubi_tools_test.sh @@ -96,7 +96,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 ... " $UBIWRITEVOL -d0 -n$volume -t @@ -249,4 +249,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 |