소스 검색

Don't include training carriage return on passwords

Bob Mottram 7 년 전
부모
커밋
e6d1ec9a9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/freedombone-utils-passwords

+ 1
- 1
src/freedombone-utils-passwords 파일 보기

@@ -51,7 +51,7 @@ function enforce_good_passwords {
51 51
 }
52 52
 
53 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 57
 # NOTE: deliberately no exit 0