]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(TEST-40-NBD): return actual test run result from test_run()
authorBtbN <timo@rothenpieler.org>
Fri, 21 Jun 2024 22:28:04 +0000 (00:28 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Fri, 21 Jun 2024 23:03:22 +0000 (19:03 -0400)
test/TEST-40-NBD/test.sh

index e7e5a9a8fb9bd8c25d3187df4a1d91d10e5ac89e..44a75f298568cd8ca76f9074a8b825194a975cd4 100755 (executable)
@@ -120,7 +120,9 @@ test_run() {
         return 1
     fi
     client_run
+    local res="$?"
     kill_server
+    return "$res"
 }
 
 client_run() {