Don't include training carriage return on passwords

This commit is contained in:
Bob Mottram 2017-09-20 15:23:58 +01:00
parent a68af68705
commit e6d1ec9a9a
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function enforce_good_passwords {
}
function create_password {
openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo ''
openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo -n ''
}
# NOTE: deliberately no exit 0