small fix to whitespace and leftover newline tests

This commit is contained in:
Jaromil 2014-11-21 22:32:38 +01:00
parent e48c7c4a85
commit 4d82b20199

2
tomb
View File

@ -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 $?
}