diff options
Diffstat (limited to 'scripts/contrib/mkefidisk.sh')
-rwxr-xr-x | scripts/contrib/mkefidisk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh index 0c15104bb3..bcc2411ca2 100755 --- a/scripts/contrib/mkefidisk.sh +++ b/scripts/contrib/mkefidisk.sh | |||
@@ -64,7 +64,7 @@ function device_details() { | |||
64 | echo " model: UNKNOWN" | 64 | echo " model: UNKNOWN" |
65 | fi | 65 | fi |
66 | if [ -f "/sys/class/block/$DEV/size" ]; then | 66 | if [ -f "/sys/class/block/$DEV/size" ]; then |
67 | echo " size: $[$(cat /sys/class/block/$DEV/size)*BLOCK_SIZE] bytes" | 67 | echo " size: $(($(cat /sys/class/block/$DEV/size) * $BLOCK_SIZE)) bytes" |
68 | else | 68 | else |
69 | echo " size: UNKNOWN" | 69 | echo " size: UNKNOWN" |
70 | fi | 70 | fi |