Support blktype as an alternative to vol_id
[ext/instance-debootstrap.git] / export
diff --git a/export b/export
index b127754..fccf4b0 100755 (executable)
--- a/export
+++ b/export
@@ -39,7 +39,7 @@ else
   exit 1
 fi
 
-vol_type=$($VOL_ID -t $filesystem_dev)
+vol_type=$($VOL_TYPE $filesystem_dev)
 
 if [ "$vol_type" = "ext3" -o "$vol_type" = "ext2" ]; then
   dump -0 -q -f - "$filesystem_dev"