Skip to content

Commit 99bcdfe

Browse files
committed
.github/workflows/04-maven-nit.yml: fix reporting error exit codes
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 931098d commit 99bcdfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/04-maven-nit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@ jobs:
111111
upsdrvctl start
112112
upsd -DDDDDD &
113113
UPSD_PID="$!"
114-
trap 'kill $UPSD_PID ; upsdrvctl stop' 0 1 2 3 15
114+
trap 'RES=$?; kill $UPSD_PID ; upsdrvctl stop; exit $RES' 0 1 2 3 15
115115
java -jar ./jNutList/target/jNutList-*-jar-with-dependencies.jar $SSL_ARGS -w --setvar driver.debug 1 localhost "${NUT_PORT}" "admin" "${TESTPASS_ADMIN}" || exit

0 commit comments

Comments
 (0)