Fix comparison of units.
Submitted by: Maxim Sobolev <sobomax@altavista.net> on -current
This commit is contained in:
parent
ea1a3a92fe
commit
22b9f6cdc7
@ -795,7 +795,7 @@ acd*|cd*|mcd*|scd*)
|
||||
fi
|
||||
if [ "${units}" -le 31 ]; then
|
||||
i=0
|
||||
while [ $i -lt $units ]; do
|
||||
while [ $i -le $units ]; do
|
||||
dname=$name$i
|
||||
rm -rf ${dname}* r${dname}*
|
||||
mknod ${dname}a c $chr $(($i * 8)) root:operator
|
||||
|
Loading…
Reference in New Issue
Block a user