Browse Source

show new line after outputting generated email

This will fix the issue of people's shell prompt getting messed up
Siddharth Dushantha 5 years ago
parent
commit
a46b22b0be
1 changed files with 1 additions and 1 deletions
  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() {