Fixing an incorrectly redirected newline.
authorTails developers <amnesia@boum.org>
Wed, 9 Nov 2011 12:13:09 +0000 (13:13 +0100)
committerDaniel Baumann <daniel@debian.org>
Thu, 24 Nov 2011 08:42:08 +0000 (09:42 +0100)
commit544c8db939aa26e57a2765fc0da55554ad8b3ec6
tree0a9586b95d31dae1889b484d2e536ef8f76cae8e
parent959403d20e2259c10de7ef55b9226c40812eabd7
Fixing an incorrectly redirected newline.

Since this newline was written to stdout it both messed up the the
display of errors while entering a LUKS passphrase, and caused
find_cow_device to return a bad string under certain
circumstances. Example: You have home-rw on /dev/sdX1. You'll first
be asked for passphrase for "live-rw on /dev/sdX1", which you skip (a
newline has been written to stdout now). Then you're asked for
"home-rw on /dev/sdX1", which is what you want so you enter it.
Thanks to the spurious newline find_cow_device returns "\n/dev/loopY",
which breaks some tests later.
scripts/live-helpers