Blob Blame History Raw
=== modified file 'src/utils/ecryptfs-setup-swap'
--- src/utils/ecryptfs-setup-swap	2009-03-20 21:44:01 +0000
+++ src/utils/ecryptfs-setup-swap	2009-05-18 17:02:55 +0000
@@ -83,7 +83,7 @@
 fi
 
 # Make sure this is swap space
-if ! vol_id "$swap" | grep -qs "ID_FS_TYPE=swap"; then
+if ! blkid "$swap" | grep -qs "TYPE=.*swap"; then
 	error "[$swap] does not appear to be swap space"
 fi