commit 70aeb9126c554e5db63b0c2ca6a6cb240112f8c2
parent 666022b7136a0af17a3a32b99b0d39c306c96ce4
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date: Wed, 18 Feb 2015 17:15:45 +0100
Use printf for writing a newline
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tpm b/tpm
@@ -74,7 +74,7 @@ insert() {
fi
IFS= read -p "Password for '${entry_name}': " -r -s password
- [[ -t 0 ]] && echo
+ [[ -t 0 ]] && printf "\n"
if [[ -z "${password}" ]]; then
abort "You didn't specify a password."