linux/block-snapshot: fix handling root.img being already block device

Cette révision appartient à :
Marek Marczykowski-Górecki 2015-05-27 23:52:57 +02:00
Parent acbdb3a261
révision c9a670cbd1

Voir le fichier

@ -48,6 +48,7 @@ get_dev() {
else
test -e "$dev" || fatal "$dev does not exist."
test -b "$dev" || fatal "$dev is not a block device nor file."
echo "$dev"
fi
}