From fa52d0a4b4d3af211106dad1c72a8aee97a77faa Mon Sep 17 00:00:00 2001 From: oiseauroch Date: Fri, 23 Dec 2022 11:27:00 +0100 Subject: [PATCH] fix mount script --- conf/mount_disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/mount_disk.sh b/conf/mount_disk.sh index d129c56..e22bdf4 100755 --- a/conf/mount_disk.sh +++ b/conf/mount_disk.sh @@ -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