Permalink
Browse files

add quotations for ${ENCRYPTIONROOT} to avoid breaking systems with a…

… space in the name

related-to: #8093

Signed-off-by: Kash Pande <kash@tripleback.net>
  • Loading branch information...
Kash Pande
Kash Pande committed Nov 8, 2018
1 parent d8244d3 commit fbf91c70630c19c86707ff46c65382d09833e7c1
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/dracut/90zfs/mount-zfs.sh.in
@@ -66,7 +66,7 @@ if import_pool "${ZFS_POOL}" ; then
ask_for_password \
--tries 5 \
--prompt "Encrypted ZFS password for ${ENCRYPTIONROOT}: " \
--cmd "zfs load-key ${ENCRYPTIONROOT}"
--cmd "zfs load-key '${ENCRYPTIONROOT}'"
fi
fi
# Let us tell the initrd to run on shutdown.

0 comments on commit fbf91c7

Please sign in to comment.