fix mount script

This commit is contained in:
oiseauroch 2022-12-23 11:27:00 +01:00
parent 7cd0be6339
commit fa52d0a4b4

View File

@ -4,7 +4,7 @@ then
datadir=__DATADIR__ datadir=__DATADIR__
format=$1 format=$1
i=0 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 do
i=$(( i + 1 )) i=$(( i + 1 ))
done done