소스 검색

show new line after outputting generated email

This will fix the issue of people's shell prompt getting messed up
Siddharth Dushantha 5 년 전
부모
커밋
a46b22b0be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tmpmail

+ 1 - 1
tmpmail

@@ -123,7 +123,7 @@ generate_email_address() {
 
     # If this function was called because the user wanted to generate a new
     # email address, show them the email address
-    [ "$EXTERNALLY" = true ] && cat "$TMPMAIL_EMAIL_ADDRESS"
+    [ "$EXTERNALLY" = true ] && cat "$TMPMAIL_EMAIL_ADDRESS" && printf "\n"
 }
 
 get_email_address() {