From c9a670cbd1d3d08370ae5ec7ff673b7f812880dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 27 May 2015 23:52:57 +0200 Subject: [PATCH] linux/block-snapshot: fix handling root.img being already block device --- linux/system-config/block-snapshot | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/system-config/block-snapshot b/linux/system-config/block-snapshot index 7822a07e..4f0b80c2 100755 --- a/linux/system-config/block-snapshot +++ b/linux/system-config/block-snapshot @@ -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 }