diff --git a/contrib/dracut/90zfs/mount-zfs.sh.in b/contrib/dracut/90zfs/mount-zfs.sh.in index 8ae092c3df3f..23f7e3e295ed 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.