tsmall fix to whitespace and leftover newline tests - tomb - the crypto undertaker (HTM) git clone git://parazyd.org/tomb.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 4d82b20199c7037c1a1ab705790b19a845faa377 (DIR) parent e48c7c4a85079042aceca3d3697122b6e9f41bfe (HTM) Author: Jaromil <jaromil@dyne.org> Date: Fri, 21 Nov 2014 22:32:38 +0100 small fix to whitespace and leftover newline tests Diffstat: M tomb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/tomb b/tomb t@@ -846,12 +846,12 @@ _load_key() { fi _verbose "load_key: ::1 key::" $TOMBKEYFILE - + is_valid_key $TOMBKEY || { _warning "The key seems invalid or its format is not known by this version of Tomb." _tomb_key_recover $TOMBKEY } - + # Declared TOMBKEYFILE (path) # Declared TOMBKEY (contents) t@@ -997,7 +997,7 @@ ask_key_password() { # call cryptsetup with arguments using the currently known secret # echo flags eliminate newline and disable escape (BSD_ECHO) _cryptsetup() { - print -R - "$TOMBSECRET" | cryptsetup --key-file - ${=@} + print -R -n - "$TOMBSECRET" | cryptsetup --key-file - ${=@} return $? }