init: remove warning when loop node already exist (wetek projects with CONFIG_BLK_DEV_LOOP_MIN_COUNT >0)

This commit is contained in:
Peter Vicman 2016-03-30 10:24:49 +02:00
parent f5c8ac208d
commit 3145e182f1

View File

@ -650,7 +650,7 @@
LOOP=$(losetup -f)
LOOP_NUM=$(echo $LOOP | sed 's|/dev/loop||')
mknod $LOOP b 7 $LOOP_NUM
mknod $LOOP b 7 $LOOP_NUM &>/dev/null
losetup $LOOP $IMG_FILE
# check for MBR partititon