Forráskód Böngészése

show new line after outputting generated email

This will fix the issue of people's shell prompt getting messed up
Siddharth Dushantha 5 éve
szülő
commit
a46b22b0be
1 módosított fájl, 1 hozzáadás és 1 törlés
  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() {