diff --git a/setup.sh b/setup.sh index b151aec..bb38554 100644 --- a/setup.sh +++ b/setup.sh @@ -107,7 +107,7 @@ function zpool_drive_id () { } function set_zpool_password () { - # No newline at the end + # May or may not have a newline at the end, ZFS doesn't care printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key' chmod '600' '/etc/zfs/'"${zpool_name}"'.key' }