Fix nbd-client.test to not abort "make tests".

(If we exit instead of return from scripts/test.sh the subshell doesn't
marshall $FAILCOUNT into the file "continue", which is interpreted as the
test having crashed so the plumbing exits with 1.)
This commit is contained in:
Rob Landley 2024-02-18 19:51:53 -06:00
parent 5c8cd70ae0
commit 43c9ee3321

View File

@ -7,6 +7,7 @@
if [ "$(id -u)" -ne 0 ]
then
echo "$SHOWSKIP: nbd-client (not root)"
return 2>/dev/null
exit
fi