Browse Source

Don't include training carriage return on passwords

Bob Mottram 7 years ago
parent
commit
e6d1ec9a9a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-passwords

+ 1
- 1
src/freedombone-utils-passwords View File

51
 }
51
 }
52
 
52
 
53
 function create_password {
53
 function create_password {
54
-    openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo ''
54
+    openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${1} ; echo -n ''
55
 }
55
 }
56
 
56
 
57
 # NOTE: deliberately no exit 0
57
 # NOTE: deliberately no exit 0