]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
tests: remove redundant new-line from save_log()
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Tue, 3 Dec 2024 10:35:29 +0000 (11:35 +0100)
committerMariusz Tkaczyk <mtkaczyk@kernel.org>
Fri, 13 Dec 2024 09:08:10 +0000 (10:08 +0100)
Remove redundant new-line character from "echo" call in save_log().

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
tests/func.sh

index 4b4d374916b2d5db7fc58a282eca3713399cb0a2..46d77eec2dfae68da194d2a29998d8cf9f387787 100644 (file)
@@ -59,7 +59,7 @@ save_log() {
        array=($(mdadm -Ds | cut -d' ' -f2))
        [ "$1" == "fail" ] &&
                fail "FAILED"
-               echo " - see $logdir/$_basename.log and $logdir/$logfile for details\n"
+               echo " - see $logdir/$_basename.log and $logdir/$logfile for details"
        if [ $DEVTYPE == 'lvm' ]
        then
                # not supported lvm type yet