]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
torture: Fix incorrectly redirected "exit" in kvm-remote.sh
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 30 Nov 2021 19:33:01 +0000 (11:33 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:30:29 +0000 (17:30 -0800)
The "exit 4" in kvm-remote.sh is pointlessly redirected, so this commit
removes the redirection.

Fixes: 0092eae4cb4e ("torture: Add kvm-remote.sh script for distributed rcutorture test runs")
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-remote.sh

index 67ebc56111e3f264ba088a0e45fb6855880eaecf..7ab79b0d5ad198df8da1f4584290a23863159a91 100755 (executable)
@@ -144,7 +144,7 @@ do
        if test "$ret" -ne 0
        then
                echo System $i unreachable, giving up. | tee -a "$oldrun/remote-log"
-               exit 4 | tee -a "$oldrun/remote-log"
+               exit 4
        fi
 done