Browse Source

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

Marek Marczykowski-Górecki 9 years ago
parent
commit
c9a670cbd1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      linux/system-config/block-snapshot

+ 1 - 0
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
 }