diff options
author | kpande <[email protected]> | 2018-11-09 12:32:01 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-11-09 09:32:01 -0800 |
commit | 13c59bb76b2f56db9f3ff6597d8a865347158e2c (patch) | |
tree | 3a26d8204b6f28037752e6b1a081f08ffd4b3edb /contrib/dracut/90zfs | |
parent | ad796b8a3b2565bcd9c7460b7bf9154e4850ca93 (diff) |
Add quotations for ${ENCRYPTIONROOT}
Add quotations for ${ENCRYPTIONROOT} to avoid breaking systems
with a space in the name.
Reviewed-by: bunder2015 <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Kash Pande <[email protected]>
Related-to: #8093
Closes #8114
Diffstat (limited to 'contrib/dracut/90zfs')
-rwxr-xr-x | contrib/dracut/90zfs/mount-zfs.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dracut/90zfs/mount-zfs.sh.in b/contrib/dracut/90zfs/mount-zfs.sh.in index 8ae092c3d..23f7e3e29 100755 --- a/contrib/dracut/90zfs/mount-zfs.sh.in +++ b/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. |