diff --git a/meson.build b/meson.build index f53fd90..9f0a1aa 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ # Project definition -project('zlevis-dracut', version: '0.1') +project('zlevis-dracut', version: '0.2') # Files which need to be moved src_files = [ diff --git a/zlevis.sh b/zlevis.sh index 13ea3c8..b7afa37 100755 --- a/zlevis.sh +++ b/zlevis.sh @@ -15,7 +15,7 @@ zpool import -N -d /dev $_root_pool if [ $(zpool list -H -o feature@encryption $_root_pool) = "active" ]; then local _encryption_root=$(zfs get -H -o value encryptionroot $_root_vol) if [ "$_encryption_root" != "-" ]; then - zlevis-fetch || echo "Zlevis-fetch failed!" + zlevis decrypt $_root_pool || echo "Zlevis-fetch failed!" fi fi