mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Messages from libcryptsetup for logging level CRYPT_LOG_DEBUG may or may not include an EOL, dependent on the cryptsetup version: Between libcryptsetup version 2.1 and 2.2 debug messages do not include an EOL character, but since 2.2 they do. Append an EOL only if the message does not already end with EOL. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Jorg Schmidbauer <jschmidb@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>