fix mount script
This commit is contained in:
parent
7cd0be6339
commit
fa52d0a4b4
|
@ -4,7 +4,7 @@ then
|
|||
datadir=__DATADIR__
|
||||
format=$1
|
||||
i=0
|
||||
while $(fdisk -l /dev/nbd$i 1&>2 /dev/null)
|
||||
while fdisk -l /dev/nbd$i 1> /dev/null 2> /dev/null
|
||||
do
|
||||
i=$(( i + 1 ))
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user