Merge pull request #67 from vpeter4/init_warning

init: remove warning when loop node already exist (wetek projects wit…
This commit is contained in:
Lukas Rusak 2016-03-30 12:06:50 -07:00
commit 46e67b787f

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