diff --git a/zfs.sh b/zfs.sh index 142349f..7ea020c 100755 --- a/zfs.sh +++ b/zfs.sh @@ -30,14 +30,14 @@ if [[ "${1}" == '--format' ]]; then while [[ ! "${zpoolPassword}" == "${zpoolPasswordVerify}" ]] || [[ -z "${zpoolPassword}" ]] || [[ "${#zpoolPassword}" -lt '8' ]]; do printf \ - "\nEnter a password to encrypt your root pool (minimum 8 characters):\n" + "Enter a password to encrypt your root pool (minimum 8 characters):\n" read \ -r \ -s \ zpoolPassword printf \ - "\nVerify the password to encrypt your root pool:\n" + "Verify the password to encrypt your root pool:\n" read \ -r \ -s \ @@ -45,13 +45,13 @@ if [[ "${1}" == '--format' ]]; then if [[ ! "${zpoolPassword}" == "${zpoolPasswordVerify}" ]]; then printf \ - "ERROR:\tPasswords do not match!\n" + "ERROR:\tPasswords do not match!\n\n" elif [[ -z "${zpoolPassword}" ]]; then printf \ - "ERROR:\tPassword is empty!\n" + "ERROR:\tPassword is empty!\n\n" elif [[ "${#zpoolPassword}" -lt '8' ]]; then printf \ - "ERROR:\tPassword is too short!\n" + "ERROR:\tPassword is too short!\n\n" fi done