test: disable shell exit on error during shutdown phase (after test)

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-12-07 10:30:35 +01:00
parent 7eac0b0341
commit 7108b0e789
+1
View File
@@ -211,6 +211,7 @@ teardown()
fi
say "Telling Finit to shut down (set -$-) ..."
set +e
if [ -n "${finit_pid+x}" ]; then
texec kill -SIGUSR2 1
fi