1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 10:06:17 +01:00

behave: Propagate exit codes in the shell scripts properly

This commit is contained in:
Daniel Mach 2023-06-19 09:27:24 +02:00
parent ab967a921c
commit 8f6bafde0a
3 changed files with 6 additions and 0 deletions

View File

@ -7,3 +7,5 @@ podman build "$@" \
--volume="$TOPDIR":/opt/obs \
$TOPDIR \
2>&1 | tee container-build.log
exit $?

View File

@ -17,3 +17,5 @@ podman run \
sleep 0.5
podman exec -it obs-server /usr/bin/systemctl is-system-running --wait
exit $?

View File

@ -7,3 +7,5 @@ podman exec \
--tty \
obs-server \
/bin/bash
exit $?