diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-05-03 01:08:21 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-05-03 01:08:21 +0000 |
commit | 1d1c2aa41b0361a12b6916e85a0e5df7fa1b6471 (patch) | |
tree | e21a864cc14a9864107ce42292e3d56eecaa16de /ezjail-admin | |
parent | 2e43ae3750164eee688a01dc6f9526707d27bc39 (diff) |
Missing bracket.
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 71863ef..52f8e05 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -167,7 +167,7 @@ create) | |||
167 | if [ "${ezjail_imagesize}" ]; then | 167 | if [ "${ezjail_imagesize}" ]; then |
168 | _val=`echo "${ezjail_imagesize}"|tr A-Z a-z|sed -Ees:g:km:g -es:m:kk:g -es:k:*2b:g -es:b:*128w:g -es:w:*4\ :g -e"s:(^|[^0-9])0x:\1\0X:g" -ey:x:*:` | 168 | _val=`echo "${ezjail_imagesize}"|tr A-Z a-z|sed -Ees:g:km:g -es:m:kk:g -es:k:*2b:g -es:b:*128w:g -es:w:*4\ :g -e"s:(^|[^0-9])0x:\1\0X:g" -ey:x:*:` |
169 | _val=`echo $(( ${_val} ))` | 169 | _val=`echo $(( ${_val} ))` |
170 | [ $? -eq 0 -a ${_val} -gt 0 ] || exerr "Error: The image size you specified is somehow incomprehensible (you specified ${ezjail_imagesize}." | 170 | [ $? -eq 0 -a ${_val} -gt 0 ] || exerr "Error: The image size you specified is somehow incomprehensible (you specified ${ezjail_imagesize})." |
171 | ezjail_imageblockcount=$(( ${_val} / 1048576 )) | 171 | ezjail_imageblockcount=$(( ${_val} / 1048576 )) |
172 | ezjail_imagerestbytes=$(( ${_val} % 1048576 )) | 172 | ezjail_imagerestbytes=$(( ${_val} % 1048576 )) |
173 | fi | 173 | fi |